diff options
author | Elis Hirwing <elis@hirwing.se> | 2021-07-17 21:31:56 +0200 |
---|---|---|
committer | Elis Hirwing <elis@hirwing.se> | 2021-07-18 20:30:46 +0200 |
commit | c2e503530bf1c3aa3cb18a1752b2d1b97c690a37 (patch) | |
tree | ec2d9b64cc675a131d84594bcb79f561e41cc638 /pkgs/servers | |
parent | af5d91db55372c9181cdfffeba32e8181ab96ec2 (diff) | |
download | nixpkgs-c2e503530bf1c3aa3cb18a1752b2d1b97c690a37.tar nixpkgs-c2e503530bf1c3aa3cb18a1752b2d1b97c690a37.tar.gz nixpkgs-c2e503530bf1c3aa3cb18a1752b2d1b97c690a37.tar.bz2 nixpkgs-c2e503530bf1c3aa3cb18a1752b2d1b97c690a37.tar.lz nixpkgs-c2e503530bf1c3aa3cb18a1752b2d1b97c690a37.tar.xz nixpkgs-c2e503530bf1c3aa3cb18a1752b2d1b97c690a37.tar.zst nixpkgs-c2e503530bf1c3aa3cb18a1752b2d1b97c690a37.zip |
hockeypuck-web: init at 2.1.0
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/hockeypuck/web.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/servers/hockeypuck/web.nix b/pkgs/servers/hockeypuck/web.nix new file mode 100644 index 00000000000..eda5317e8c4 --- /dev/null +++ b/pkgs/servers/hockeypuck/web.nix @@ -0,0 +1,26 @@ +{ stdenv, lib, fetchFromGitHub }: + +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/ + ''; + + meta = with lib; { + description = "OpenPGP Key Server web resources"; + homepage = "https://github.com/hockeypuck/hockeypuck"; + license = licenses.gpl3Plus; + maintainers = [ maintainers.etu ]; + }; +} |