NUR/pkgs/synapse-admin/default.nix

25 lines
454 B
Nix
Raw Permalink Normal View History

2020-07-25 03:52:31 +02:00
{ lib, mkYarnPackage, fetchFromGitHub, nodejs-10_x }:
mkYarnPackage {
pname = "synapse-admin";
2021-03-13 01:03:17 +01:00
version = "0.7.0";
2020-07-25 03:52:31 +02:00
src = fetchFromGitHub {
owner = "Awesome-Technologies";
repo = "synapse-admin";
2021-03-13 01:03:17 +01:00
rev = "0.7.0";
sha256 = "00vqqgchzff231s5kxxsv3yalnmr16q86ycj2nj1m728d3jmi0k1";
2020-07-25 03:52:31 +02:00
};
buildPhase = ''
yarn build
'';
installPhase = ''
mkdir $out
cp -r deps/synapse-admin/build/* $out
'';
distPhase = "true";
}