1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00
nixpkgs/pkgs/servers/gotify/ui.nix
Doron Behar fbb9bcaef4 gotify-server: 2.0.4 -> 2.0.5
Improved update script / procedure by getting all versions and shas
needed to build it.
2020-04-27 16:56:50 +03:00

26 lines
406 B
Nix

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