3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #34921 from leenaars/getdns

getdns: init at 1.3.0
This commit is contained in:
Joachim F 2018-02-13 23:05:02 +00:00 committed by GitHub
commit a4621c0f68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ stdenv, fetchurl, libtool, unbound, libidn, m4, file
, openssl, doxygen, autoreconfHook, automake }:
stdenv.mkDerivation rec {
pname = "getdns";
name = "${pname}-${version}";
version = "1.3.0";
src = fetchurl {
url = "https://getdnsapi.net/releases/${pname}-1-3-0/${pname}-${version}.tar.gz";
sha256 = "920fa2e07c72fd0e5854db1820fa777108009fc5cb702f9aa5155ef58b12adb1";
};
nativeBuildInputs = [ libtool m4 autoreconfHook automake file ];
buildInputs = [ unbound libidn openssl doxygen ];
patchPhase = ''
substituteInPlace m4/acx_openssl.m4 \
--replace /usr/local/ssl ${openssl.dev}
'';
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.
'';
homepage = https://getdnsapi.net;
maintainers = with maintainers; [ leenaars ];
license = licenses.bsd3;
platforms = platforms.all;
};
}

View file

@ -8681,6 +8681,8 @@ with pkgs;
getdata = callPackage ../development/libraries/getdata { };
getdns = callPackage ../development/libraries/getdns { };
gettext = callPackage ../development/libraries/gettext { };
gflags = callPackage ../development/libraries/gflags { };