mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
7f5b839524
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'. * Replaced `with args' with formal function arguments in several packages. * Renamed several files to `default.nix'. As a general rule, version numbers should only be included in the filename when there is a reason to keep multiple versions of a package in Nixpkgs. Otherwise, it just makes it harder to update the package. svn path=/nixpkgs/trunk/; revision=18403
20 lines
486 B
Nix
20 lines
486 B
Nix
|
|
args : with args;
|
|
rec {
|
|
src = fetchurl {
|
|
url = http://ftp.isc.org/isc/bind9/9.5.0/bind-9.5.0.tar.gz;
|
|
sha256 = "0qfxipj6v9hs9plx388ysnyvpkiamgxpsq8xqzw9hliag4nc1d7v";
|
|
};
|
|
|
|
buildInputs = [openssl libtool];
|
|
configureFlags = ["--with-libtool" "--with-openssl=${openssl}"];
|
|
|
|
/* doConfigure should be specified separately */
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
|
|
name = "bind-9.5.0";
|
|
meta = {
|
|
description = "ISC BIND: a domain name server";
|
|
};
|
|
}
|