1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
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;
2020-02-19 10:38:31 +00:00
version = "2.0.14";
2019-10-05 08:46:51 +01:00
src_all = fetchFromGitHub {
owner = "gotify";
repo = "server";
rev = "v${version}";
2020-02-19 10:38:31 +00:00
sha256 = "0hyy9fki2626cgd78l7fkk67lik6g1pkcpf6xr3gl07dxwcclyr8";
2019-10-05 08:46:51 +01:00
};
src = "${src_all}/ui";
buildPhase = ''
yarn build
'';
}