2011-07-21 20:58:34 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2008-06-18 21:29:42 +00:00
|
|
|
|
2011-07-21 20:58:34 +00:00
|
|
|
let
|
|
|
|
version = "1.4";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2008-06-18 21:29:42 +00:00
|
|
|
name = "adns-${version}";
|
2011-07-21 20:58:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
|
|
|
"http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-${version}.tar.gz"
|
|
|
|
"ftp://ftp.chiark.greenend.org.uk/users/ian/adns/adns-${version}.tar.gz"
|
|
|
|
"mirror://gnu/adns/adns-${version}.tar.gz"
|
|
|
|
];
|
|
|
|
sha256 = "1zm99i9fd5gfijd144ajngn6x73563355im79sqdi98pj6ir4yvi";
|
2008-06-18 21:29:42 +00:00
|
|
|
};
|
2009-01-17 20:19:54 +00:00
|
|
|
|
2011-07-21 21:26:21 +00:00
|
|
|
preConfigure =
|
|
|
|
stdenv.lib.optionalString stdenv.isDarwin "sed -i -e 's|-Wl,-soname=$(SHLIBSONAME)||' configure";
|
|
|
|
|
2009-01-17 20:19:54 +00:00
|
|
|
# http://thread.gmane.org/gmane.linux.distributions.nixos/1328 for details.
|
|
|
|
doCheck = false;
|
2008-06-18 21:29:42 +00:00
|
|
|
|
2011-07-21 20:58:34 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.chiark.greenend.org.uk/~ian/adns/";
|
|
|
|
description = "Asynchronous DNS Resolver Library";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
2011-07-21 20:58:34 +00:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
};
|
2008-06-18 21:29:42 +00:00
|
|
|
}
|