mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
083d0890f5
* Remove package name * Start with upper case letter * Remove trailing period Also reword some descriptions and move some long descriptions to longDescription. I'm not touching generated packages.
23 lines
609 B
Nix
23 lines
609 B
Nix
{ stdenv, fetchurl, openssl, expat, libevent, ldns }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "unbound-1.4.13";
|
|
|
|
src = fetchurl {
|
|
url = "http://unbound.net/downloads/${name}.tar.gz";
|
|
sha256 = "04r379gma1ghr9zjc1fmncpw8kka4f0mpcmrzidsp264aqkxriw3";
|
|
};
|
|
|
|
buildInputs = [openssl expat libevent ldns];
|
|
|
|
configureFlags = [ "--with-ssl=${openssl}" "--with-libexpat=${expat}"
|
|
"--localstatedir=/var" ];
|
|
|
|
meta = {
|
|
description = "Validating, recursive, and caching DNS resolver";
|
|
license = "BSD";
|
|
homepage = http://www.unbound.net;
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|