diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-07-19 06:02:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 06:02:01 +0000 |
commit | f60c09468f716f8851b976289f66e1ebd9045b79 (patch) | |
tree | db43cafb7476db93b44e84c76930d312f2357aff /pkgs/servers/hockeypuck/web.nix | |
parent | dde34afc632005a61b65b95f269dbc8b828c2f05 (diff) | |
parent | 9c688591fcae1c2c812c9929b399f1f08054f8b5 (diff) | |
download | nixpkgs-f60c09468f716f8851b976289f66e1ebd9045b79.tar nixpkgs-f60c09468f716f8851b976289f66e1ebd9045b79.tar.gz nixpkgs-f60c09468f716f8851b976289f66e1ebd9045b79.tar.bz2 nixpkgs-f60c09468f716f8851b976289f66e1ebd9045b79.tar.lz nixpkgs-f60c09468f716f8851b976289f66e1ebd9045b79.tar.xz nixpkgs-f60c09468f716f8851b976289f66e1ebd9045b79.tar.zst nixpkgs-f60c09468f716f8851b976289f66e1ebd9045b79.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/servers/hockeypuck/web.nix')
-rw-r--r-- | pkgs/servers/hockeypuck/web.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/servers/hockeypuck/web.nix b/pkgs/servers/hockeypuck/web.nix new file mode 100644 index 00000000000..32f2b1acd22 --- /dev/null +++ b/pkgs/servers/hockeypuck/web.nix @@ -0,0 +1,28 @@ +{ stdenv, lib, fetchFromGitHub, nixosTests }: + +let + sources = (import ./sources.nix) { inherit fetchFromGitHub; }; +in +stdenv.mkDerivation { + pname = "${sources.pname}-web"; + + inherit (sources) version src; + + dontBuild = true; # We should just copy the web templates + + installPhase = '' + mkdir -p $out/share/ + + cp -vr contrib/webroot $out/share/ + cp -vr contrib/templates $out/share/ + ''; + + passthru.tests = nixosTests.hockeypuck; + + meta = with lib; { + description = "OpenPGP Key Server web resources"; + homepage = "https://github.com/hockeypuck/hockeypuck"; + license = licenses.gpl3Plus; + maintainers = [ maintainers.etu ]; + }; +} |