mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
e0c225857f
skalibs: 2.4.7.0 -> 2.3.9.0 execline: 2.1.4.0 -> 2.1.4.5 s6: 2.2.1.0 -> 2.2.4.3 s6-rc: 0.0.1.0 -> 0.0.2.1 s6-portable-utils: 2.0.5.2 -> 2.0.5.3 s6-linux-utils: 2.0.2.0 -> 2.0.2.3 s6-dns: 2.0.0.4 -> 2.0.0.7 s6-networking: 2.1.0.1 -> 2.1.0.4
39 lines
989 B
Nix
39 lines
989 B
Nix
{ stdenv, fetchgit, skalibs }:
|
|
|
|
let
|
|
|
|
version = "2.0.0.7";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "s6-dns-${version}";
|
|
|
|
src = fetchgit {
|
|
url = "git://git.skarnet.org/s6-dns";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "033pijilkvj3vw94aqrvavr4mqafm7kcc8ql8lc3ma6lqkx4xyak";
|
|
};
|
|
|
|
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;
|
|
maintainers = with stdenv.lib.maintainers; [ pmahoney ];
|
|
};
|
|
|
|
}
|