nixpkgs/pkgs/servers/gotify/ui.nix

26 lines
407 B
Nix
Raw Normal View History

2019-10-05 07:46:51 +00:00
{ yarn2nix-moretea
, fetchFromGitHub
}:
yarn2nix-moretea.mkYarnPackage rec {
pname = "gotify-ui";
2019-10-05 07:46:51 +00:00
packageJSON = ./package.json;
yarnNix = ./yarndeps.nix;
version = import ./version.nix;
2019-10-05 07:46:51 +00:00
src_all = fetchFromGitHub {
owner = "gotify";
repo = "server";
rev = "v${version}";
sha256 = import ./source-sha.nix;
2019-10-05 07:46:51 +00:00
};
src = "${src_all}/ui";
buildPhase = ''
yarn build
'';
}