depot/third_party/nixpkgs/pkgs/servers/gotify/ui.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

25 lines
407 B
Nix

{ yarn2nix-moretea
, fetchFromGitHub
}:
yarn2nix-moretea.mkYarnPackage rec {
pname = "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
'';
}