1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/tools/networking/s6-dns/default.nix
Patrick Mahoney 6a2ec766fc s6-dns: update checksum
Upstream unfortunately changed the tag v2.0.0.2 from revision
b533774a704c271a6feeaef76939b0aefbf039d7 to one commit forward:
539bee3f515b13a9a55ce65c0c0593babc7c5048.
2015-03-28 18:52:56 -05:00

38 lines
928 B
Nix

{ stdenv, fetchgit, skalibs }:
let
version = "2.0.0.2";
in stdenv.mkDerivation rec {
name = "s6-dns-${version}";
src = fetchgit {
url = "git://git.skarnet.org/s6-dns";
rev = "refs/tags/v${version}";
sha256 = "0rsw19r9hwxb0xj9xs1rwb7fa21wwbsnfq3p2nfg4lf6cc64b39r";
};
dontDisableStatic = true;
enableParallelBuilding = true;
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" ]);
meta = {
homepage = http://www.skarnet.org/software/s6-dns/;
description = "A suite of DNS client programs and libraries for Unix systems";
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.isc;
};
}