diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/gotify/ui.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/gotify/ui.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/gotify/ui.nix b/nixpkgs/pkgs/servers/gotify/ui.nix new file mode 100644 index 000000000000..2c1bddec68f6 --- /dev/null +++ b/nixpkgs/pkgs/servers/gotify/ui.nix @@ -0,0 +1,25 @@ +{ yarn2nix-moretea +, fetchFromGitHub +}: + +yarn2nix-moretea.mkYarnPackage rec { + name = "gotify-ui"; + + packageJSON = ./package.json; + yarnNix = ./yarndeps.nix; + + version = "2.0.13"; + + src_all = fetchFromGitHub { + owner = "gotify"; + repo = "server"; + rev = "v${version}"; + sha256 = "11ycs1ci1z8wm4fjgk4454kgszr4s8q9dc96pl77yvlngi4dk46d"; + }; + src = "${src_all}/ui"; + + buildPhase = '' + yarn build + ''; + +} |