diff options
Diffstat (limited to 'pkgs/tools/networking/s6-dns')
-rw-r--r-- | pkgs/tools/networking/s6-dns/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/tools/networking/s6-dns/default.nix b/pkgs/tools/networking/s6-dns/default.nix index 4dae1a1c8c30d..2339ac5ff0542 100644 --- a/pkgs/tools/networking/s6-dns/default.nix +++ b/pkgs/tools/networking/s6-dns/default.nix @@ -1,20 +1,23 @@ -{ stdenv, fetchurl, skalibs }: +{ stdenv, fetchgit, skalibs }: let - version = "2.0.0.0"; + version = "2.0.0.2"; in stdenv.mkDerivation rec { name = "s6-dns-${version}"; - src = fetchurl { - url = "http://www.skarnet.org/software/s6-dns/${name}.tar.gz"; - sha256 = "07k6rzgsgcxr0bq209as79sjn2nrcjj9mlmk9vvy1hvsag0xnkcq"; + src = fetchgit { + url = "git://git.skarnet.org/s6-dns"; + rev = "refs/tags/v${version}"; + sha256 = "0y76gvgvg2y3hhr3pk2nkki1idjj6sxxcnvd29yd79v0419p2dl3"; }; dontDisableStatic = true; + enableParallelBuilding = true; + configureFlags = [ "--includedir=\${prefix}/include" "--libdir=\${prefix}/lib" |