knot-dns: init at 2.3.3

Only .lib is tested ATM.
This commit is contained in:
Vladimír Čunát 2016-07-01 13:44:07 +02:00
parent 01d022e16b
commit df07922e3e
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn
, systemd, nettle, libedit }:
# Note: ATM only the libraries have been tested in nixpkgs.
stdenv.mkDerivation rec {
name = "knot-dns-${version}";
version = "2.3.3";
src = fetchurl {
url = "http://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
sha256 = "a929bce3b957a81776b1db7b43b0e4473339bf16be8dbba5abb4b0593bf43c94";
};
outputs = [ "bin" "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
gnutls jansson liburcu lmdb libcap_ng libidn
systemd nettle libedit
# without sphinx &al. for developer documentation
];
enableParallelBuilding = true;
CFLAGS = [ "-DNDEBUG" ];
#doCheck = true; problems in combination with dynamic linking
postInstall = ''rm -r "$out"/var'';
meta = with stdenv.lib; {
description = "Authoritative-only DNS server from .cz domain registry";
homepage = https://knot-dns.cz;
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = [ maintainers.vcunat ];
};
}

View File

@ -10119,6 +10119,8 @@ in
jetty = callPackage ../servers/http/jetty { };
knot-dns = callPackage ../servers/dns/knot-dns { };
rdkafka = callPackage ../development/libraries/rdkafka { };
leafnode = callPackage ../servers/news/leafnode { };