package synapse-admin

This commit is contained in:
Daniel Olsen 2020-07-25 03:52:31 +02:00
parent 129a51188c
commit bb478256e5
2 changed files with 26 additions and 0 deletions

View File

@ -20,6 +20,7 @@ in
colors = pkgs.callPackage ./pkgs/colors { };
eplot = pkgs.callPackage ./pkgs/eplot { };
synapse-admin = pkgs.callPackage ./pkgs/synapse-admin { };
matrix-wug = pkgs.callPackage ./pkgs/matrix-wug { };
rank_photos = pkgs.callPackage ./pkgs/rank_photos { };

View File

@ -0,0 +1,25 @@
{ lib, mkYarnPackage, fetchFromGitHub, nodejs-10_x }:
mkYarnPackage {
pname = "synapse-admin";
version = "0.4.1";
src = fetchFromGitHub {
owner = "Awesome-Technologies";
repo = "synapse-admin";
rev = "0.4.1";
sha256 = "1ig9pb2cqpg4hgn3mm765sc57fn9c00xz1hpxvrvdyhwlvscs95i";
};
buildPhase = ''
yarn build
'';
installPhase = ''
mkdir $out
cp -r deps/synapse-admin/build/* $out
'';
fixupPhase = "true";
distPhase = "true";
}