1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 15:47:28 +00:00
nixpkgs/pkgs/servers/sks/default.nix

45 lines
1.3 KiB
Nix
Raw Normal View History

2017-10-24 12:10:42 +01:00
{ stdenv, fetchFromBitbucket, ocaml, zlib, db, perl, camlp4 }:
2016-11-28 02:28:40 +00:00
stdenv.mkDerivation rec {
name = "sks-${version}";
version = "1.1.6";
src = fetchFromBitbucket {
owner = "skskeyserver";
repo = "sks-keyserver";
rev = "${version}";
sha256 = "00q5ma5rvl10rkc6cdw8d69bddgrmvy0ckqj3hbisy65l4idj2zm";
};
2017-10-24 12:10:42 +01:00
buildInputs = [ ocaml zlib db perl camlp4 ];
2016-11-28 02:28:40 +00:00
makeFlags = [ "PREFIX=$(out)" "MANDIR=$(out)/share/man" ];
preConfigure = ''
cp Makefile.local.unused Makefile.local
sed -i \
2017-10-24 12:10:42 +01:00
-e "s:^LIBDB=.*$:LIBDB=-ldb:g" \
2016-11-28 02:28:40 +00:00
Makefile.local
'';
preBuild = "make dep";
doCheck = true;
checkPhase = "./sks unit_test";
meta = with stdenv.lib; {
2017-10-24 12:10:42 +01:00
description = "An easily deployable & decentralized OpenPGP keyserver";
2016-11-28 02:28:40 +00:00
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;
2017-10-24 12:10:42 +01:00
maintainers = with maintainers; [ primeos fpletz ];
2016-11-28 02:28:40 +00:00
};
}