summary refs log tree commit diff
path: root/pkgs/development/libraries/getdns/default.nix
diff options
context:
space:
mode:
authorMichiel Leenaars <ml.software@leenaa.rs>2018-02-12 21:52:36 +0100
committerMichiel Leenaars <ml.software@leenaa.rs>2018-02-13 11:02:50 +0100
commit2b68e995041f3ae01e0c9fe8b72ea70970791f4e (patch)
tree332ec4ae728cb34d720d3d650bd3a6b600615452 /pkgs/development/libraries/getdns/default.nix
parent3e94432753167cb4b765b7547d86c227a8855da8 (diff)
downloadnixpkgs-2b68e995041f3ae01e0c9fe8b72ea70970791f4e.tar
nixpkgs-2b68e995041f3ae01e0c9fe8b72ea70970791f4e.tar.gz
nixpkgs-2b68e995041f3ae01e0c9fe8b72ea70970791f4e.tar.bz2
nixpkgs-2b68e995041f3ae01e0c9fe8b72ea70970791f4e.tar.lz
nixpkgs-2b68e995041f3ae01e0c9fe8b72ea70970791f4e.tar.xz
nixpkgs-2b68e995041f3ae01e0c9fe8b72ea70970791f4e.tar.zst
nixpkgs-2b68e995041f3ae01e0c9fe8b72ea70970791f4e.zip
getdns: init at 1.3.0
Diffstat (limited to 'pkgs/development/libraries/getdns/default.nix')
-rw-r--r--pkgs/development/libraries/getdns/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/libraries/getdns/default.nix b/pkgs/development/libraries/getdns/default.nix
new file mode 100644
index 00000000000..382bdb17247
--- /dev/null
+++ b/pkgs/development/libraries/getdns/default.nix
@@ -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;
+  };
+}