nixfiles/hosts/hetzner-vm/services/misskey-pkg.nix

28 lines
518 B
Nix
Raw Normal View History

2022-11-02 08:40:25 +00:00
{ lib, stdenv, fetchFromGitHub }:
let
version = "12.119.0";
src = fetchFromGitHub {
owner = "misskey-dev";
repo = "misskey";
rev = version;
sha256 = "sha256-2ijgk9/BWndJva71XTDfnLM7oG5qFVYhwxOXUK7UA6s=";
};
in stdenv.mkDerivation {
pname = "misskey";
inherit version src;
installPhase = ''
cp -r $src $out
'';
meta = with lib; {
description = "Interplanetary microblogging platform. 🚀";
homepage = "https://misskey-hub.net/";
platforms = platforms.unix;
};
}