28 lines
518 B
Nix
28 lines
518 B
Nix
|
|
|
|
{ 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;
|
|
};
|
|
}
|