diff options
author | Michael Weiss <primeos@users.noreply.github.com> | 2016-11-28 03:28:40 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-11-28 03:28:40 +0100 |
commit | 9538176042c8f3cabdbb4aa5ffcc86b7dad3d425 (patch) | |
tree | ed92535234ef031c174e08bf5513d981430673a5 /pkgs/servers/sks | |
parent | dfb354ea7d76bf7bf60e39a07e4a7acdbfd0d3be (diff) |
sks: init at 1.1.6 (#20717)
Diffstat (limited to 'pkgs/servers/sks')
-rw-r--r-- | pkgs/servers/sks/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/servers/sks/default.nix b/pkgs/servers/sks/default.nix new file mode 100644 index 0000000000000..9149f050655c8 --- /dev/null +++ b/pkgs/servers/sks/default.nix @@ -0,0 +1,45 @@ +{ stdenv, fetchFromBitbucket, ocaml, zlib, db48, perl }: + +stdenv.mkDerivation rec { + name = "sks-${version}"; + version = "1.1.6"; + + src = fetchFromBitbucket { + owner = "skskeyserver"; + repo = "sks-keyserver"; + rev = "${version}"; + sha256 = "00q5ma5rvl10rkc6cdw8d69bddgrmvy0ckqj3hbisy65l4idj2zm"; + }; + + buildInputs = [ ocaml zlib db48 perl ]; + + makeFlags = [ "PREFIX=$(out)" "MANDIR=$(out)/share/man" ]; + preConfigure = '' + cp Makefile.local.unused Makefile.local + sed -i \ + -e "s:^LIBDB=.*$:LIBDB=-ldb-4.8:g" \ + Makefile.local + ''; + + preBuild = "make dep"; + + doCheck = true; + checkPhase = "./sks unit_test"; + + meta = with stdenv.lib; { + description = "An OpenPGP keyserver whose goal is to provide easy to + deploy, decentralized, and highly reliable synchronization"; + longDescription = '' + SKS is an OpenPGP keyserver whose goal is to provide easy to deploy, + decentralized, and highly reliable synchronization. That means that a key + submitted to one SKS server will quickly be distributed to all key + servers, and even wildly out-of-date servers, or servers that experience + spotty connectivity, can fully synchronize with rest of the system. + ''; + inherit (src.meta) homepage; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ primeos ]; + }; +} + |