3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/gotify/ui.nix

26 lines
425 B
Nix
Raw Normal View History

2019-10-05 08:46:51 +01:00
{ yarn2nix-moretea
, fetchFromGitHub
}:
yarn2nix-moretea.mkYarnPackage rec {
name = "gotify-ui";
packageJSON = ./package.json;
yarnNix = ./yarndeps.nix;
2019-11-26 20:45:31 +00:00
version = "2.0.11";
2019-10-05 08:46:51 +01:00
src_all = fetchFromGitHub {
owner = "gotify";
repo = "server";
rev = "v${version}";
2019-11-26 20:45:31 +00:00
sha256 = "0zrylyaxy1cks1wlzyf0di8in2braj4pfriyqa24vipwrlnhvgs6";
2019-10-05 08:46:51 +01:00
};
src = "${src_all}/ui";
buildPhase = ''
yarn build
'';
}