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-01-02 20:25:10 +00:00
|
|
|
version = "2.0.13";
|
2019-10-05 08:46:51 +01:00
|
|
|
|
|
|
|
src_all = fetchFromGitHub {
|
|
|
|
owner = "gotify";
|
|
|
|
repo = "server";
|
|
|
|
rev = "v${version}";
|
2020-01-02 20:25:10 +00:00
|
|
|
sha256 = "11ycs1ci1z8wm4fjgk4454kgszr4s8q9dc96pl77yvlngi4dk46d";
|
2019-10-05 08:46:51 +01:00
|
|
|
};
|
|
|
|
src = "${src_all}/ui";
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
yarn build
|
|
|
|
'';
|
|
|
|
|
|
|
|
}
|