diff options
Diffstat (limited to 'pkgs/development/libraries/libasyncns/default.nix')
-rw-r--r-- | pkgs/development/libraries/libasyncns/default.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/pkgs/development/libraries/libasyncns/default.nix b/pkgs/development/libraries/libasyncns/default.nix deleted file mode 100644 index 09e056373d27..000000000000 --- a/pkgs/development/libraries/libasyncns/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "libasyncns"; - version = "0.8"; - - src = fetchurl { - url = "http://0pointer.de/lennart/projects/libasyncns/${pname}-${version}.tar.gz"; - sha256 = "0x5b6lcic4cd7q0bx00x93kvpyzl7n2abbgvqbrlzrfb8vknc6jg"; - }; - - postPatch = lib.optionalString stdenv.isDarwin '' - substituteInPlace libasyncns/asyncns.c \ - --replace '<arpa/nameser.h>' '<arpa/nameser_compat.h>' - ''; - - configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ - "ac_cv_func_malloc_0_nonnull=yes" - "ac_cv_func_realloc_0_nonnull=yes" - ]; - - meta = with lib; { - homepage = "http://0pointer.de/lennart/projects/libasyncns/"; - description = "C library for Linux/Unix for executing name service queries asynchronously"; - license = licenses.lgpl21; - platforms = platforms.unix; - }; -} |