2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchurl, unbound, libidn2, openssl, doxygen, cmake }:
|
2018-02-12 21:52:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "getdns";
|
2020-02-28 19:30:23 +01:00
|
|
|
version = "1.6.0";
|
2019-09-10 10:19:28 +02:00
|
|
|
versionRewrite = builtins.splitVersion version;
|
2018-02-12 21:52:36 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-02-28 19:30:23 +01:00
|
|
|
url = "https://getdnsapi.net/releases/${pname}-${
|
|
|
|
builtins.concatStringsSep "-" versionRewrite
|
|
|
|
}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0jhg7258wz287kjymimvdvv04n69lwxdc3sb62l2p453f5s77ra0";
|
2018-02-12 21:52:36 +01:00
|
|
|
};
|
|
|
|
|
2020-02-28 19:30:23 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2018-02-12 21:52:36 +01:00
|
|
|
|
2020-02-28 19:30:23 +01:00
|
|
|
buildInputs = [ unbound libidn2 openssl doxygen ];
|
2018-02-12 21:52:36 +01:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2018-02-12 21:52:36 +01:00
|
|
|
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 19:30:23 +01:00
|
|
|
'';
|
|
|
|
homepage = "https://getdnsapi.net";
|
|
|
|
maintainers = with maintainers; [ leenaars ehmry ];
|
2018-02-12 21:52:36 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|