nixpkgs/pkgs/development/libraries/getdns/default.nix

38 lines
1.4 KiB
Nix
Raw Normal View History

2020-02-28 18:30:23 +00:00
{ stdenv, fetchurl, unbound, libidn2, openssl, doxygen, cmake }:
2018-02-12 20:52:36 +00:00
stdenv.mkDerivation rec {
pname = "getdns";
2020-02-28 18:30:23 +00:00
version = "1.6.0";
2019-09-10 08:19:28 +00:00
versionRewrite = builtins.splitVersion version;
2018-02-12 20:52:36 +00:00
src = fetchurl {
2020-02-28 18:30:23 +00:00
url = "https://getdnsapi.net/releases/${pname}-${
builtins.concatStringsSep "-" versionRewrite
}/${pname}-${version}.tar.gz";
sha256 = "0jhg7258wz287kjymimvdvv04n69lwxdc3sb62l2p453f5s77ra0";
2018-02-12 20:52:36 +00:00
};
2020-02-28 18:30:23 +00:00
nativeBuildInputs = [ cmake ];
2018-02-12 20:52:36 +00:00
2020-02-28 18:30:23 +00:00
buildInputs = [ unbound libidn2 openssl doxygen ];
2018-02-12 20:52:36 +00:00
meta = with stdenv.lib; {
description = "A modern asynchronous DNS API";
longDescription = ''
getdns is an implementation of a modern asynchronous DNS API; the
specification was originally edited by Paul Hoffman. It is intended to make all
types of DNS information easily available to application developers and non-DNS
experts. DNSSEC offers a unique global infrastructure for establishing and
enhancing cryptographic trust relations. With the development of this API the
developers intend to offer application developers a modern and flexible
interface that enables end-to-end trust in the DNS architecture, and which will
inspire application developers to implement innovative security solutions in
their applications.
2020-02-28 18:30:23 +00:00
'';
homepage = "https://getdnsapi.net";
maintainers = with maintainers; [ leenaars ehmry ];
2018-02-12 20:52:36 +00:00
license = licenses.bsd3;
platforms = platforms.all;
};
}