package synapse-admin
This commit is contained in:
parent
129a51188c
commit
bb478256e5
|
@ -20,6 +20,7 @@ in
|
||||||
colors = pkgs.callPackage ./pkgs/colors { };
|
colors = pkgs.callPackage ./pkgs/colors { };
|
||||||
eplot = pkgs.callPackage ./pkgs/eplot { };
|
eplot = pkgs.callPackage ./pkgs/eplot { };
|
||||||
|
|
||||||
|
synapse-admin = pkgs.callPackage ./pkgs/synapse-admin { };
|
||||||
matrix-wug = pkgs.callPackage ./pkgs/matrix-wug { };
|
matrix-wug = pkgs.callPackage ./pkgs/matrix-wug { };
|
||||||
|
|
||||||
rank_photos = pkgs.callPackage ./pkgs/rank_photos { };
|
rank_photos = pkgs.callPackage ./pkgs/rank_photos { };
|
||||||
|
|
|
@ -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";
|
||||||
|
}
|
Loading…
Reference in New Issue