hockeypuck-web: init at 2.1.0
This commit is contained in:
parent
af5d91db55
commit
c2e503530b
26
pkgs/servers/hockeypuck/web.nix
Normal file
26
pkgs/servers/hockeypuck/web.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -5829,6 +5829,8 @@ in
|
||||
|
||||
hockeypuck = callPackage ../servers/hockeypuck/server.nix { };
|
||||
|
||||
hockeypuck-web = callPackage ../servers/hockeypuck/web.nix { };
|
||||
|
||||
holochain-go = callPackage ../servers/holochain-go { };
|
||||
|
||||
homesick = callPackage ../tools/misc/homesick { };
|
||||
|
Loading…
Reference in New Issue
Block a user