2015-01-01 20:34:16 +01:00
|
|
|
{ stdenv, fetchurl, skalibs }:
|
2014-08-30 07:06:42 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
|
2014-12-23 17:06:27 +01:00
|
|
|
version = "2.0.0.0";
|
2014-08-30 07:06:42 +02:00
|
|
|
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "s6-dns-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.skarnet.org/software/s6-dns/${name}.tar.gz";
|
2014-12-23 17:06:27 +01:00
|
|
|
sha256 = "07k6rzgsgcxr0bq209as79sjn2nrcjj9mlmk9vvy1hvsag0xnkcq";
|
2014-08-30 07:06:42 +02:00
|
|
|
};
|
|
|
|
|
2014-12-23 17:06:27 +01:00
|
|
|
dontDisableStatic = true;
|
2014-08-30 07:06:42 +02:00
|
|
|
|
2014-12-23 17:06:27 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--includedir=\${prefix}/include"
|
|
|
|
"--libdir=\${prefix}/lib"
|
|
|
|
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
|
|
|
|
"--with-include=${skalibs}/include"
|
|
|
|
"--with-lib=${skalibs}/lib"
|
|
|
|
"--with-dynlib=${skalibs}/lib"
|
|
|
|
] ++ (if stdenv.isDarwin then [ "--disable-shared" ] else [ "--enable-shared" ]);
|
2014-08-30 07:06:42 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.skarnet.org/software/s6-dns/;
|
2014-11-11 14:20:43 +01:00
|
|
|
description = "A suite of DNS client programs and libraries for Unix systems";
|
2014-08-30 07:06:42 +02:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|