diff options
Diffstat (limited to 'pkgs/development/libraries/ldns/default.nix')
-rw-r--r-- | pkgs/development/libraries/ldns/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/libraries/ldns/default.nix b/pkgs/development/libraries/ldns/default.nix index 01aeeecc6f6..b1f81549ef0 100644 --- a/pkgs/development/libraries/ldns/default.nix +++ b/pkgs/development/libraries/ldns/default.nix @@ -8,17 +8,22 @@ stdenv.mkDerivation rec { sha256 = "1kf8pkwhcssvgzhh6ha1pjjiziwvwmfaali7kaafh6118mcy124b"; }; - patchPhase = '' - sed -i 's,\$(srcdir)/doc/doxyparse.pl,perl $(srcdir)/doc/doxyparse.pl,' Makefile.in + patches = [ ./perl-5.22-compat.patch ]; + + postPatch = '' + patchShebangs doc/doxyparse.pl ''; - buildInputs = [ openssl perl ]; + nativeBuildInputs = [ perl ]; + buildInputs = [ openssl ]; configureFlags = [ "--with-ssl=${openssl}" "--with-drill" ]; - meta = { + meta = with stdenv.lib; { description = "Library with the aim of simplifying DNS programming in C"; - license = stdenv.lib.licenses.bsd3; + license = licenses.bsd3; homepage = "http://www.nlnetlabs.nl/projects/ldns/"; + platforms = platforms.linux; + maintainers = with maintainers; [ jgeerds ]; }; } |