sks and pgpkeyserver-lite modules: init (#27515)
* modules sks and pgpkeyserver-lite: runs the sks keyserver with optional nginx proxy for webgui. * Add calbrecht to maintainers * module sks: fix default hkpAddress value * module pgpkeyserver-lite: make hkpAddress a string type option and use (builtins.head services.sks.hkpAddress) as default value * module sks: remove leftover service dependencies
This commit is contained in:
committed by
Robin Gloster
parent
d837d88f3b
commit
964799e556
@@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub, lib } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pgpkeyserver-lite-${version}";
|
||||
version = "2017-07-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mattrude";
|
||||
repo = "pgpkeyserver-lite";
|
||||
rev = "a038cb7";
|
||||
sha256 = "12pn92pcpv38b2gmamppn9yzdn7x52pgxnzpal22gqsxwimhs2rx";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -R 404.html assets favicon.ico index.html robots.txt $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/mattrude/pgpkeyserver-lite;
|
||||
description = "A lightweight static front-end for a sks keyserver.";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.calbrecht ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user