From ffed4e93bef0090c4df980f78887d64b998cb2bd Mon Sep 17 00:00:00 2001 From: Patrick Mahoney Date: Thu, 15 Jan 2015 16:11:20 -0600 Subject: [PATCH] s6-dns: update to 2.0.0.2 --- pkgs/tools/networking/s6-dns/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/networking/s6-dns/default.nix b/pkgs/tools/networking/s6-dns/default.nix index 4dae1a1c8c30..2339ac5ff054 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"