getdns: 1.5.2 -> 1.6.0

This commit is contained in:
Emery Hemingway 2020-02-28 19:30:23 +01:00
parent 7aa084521b
commit 920165076b

View File

@ -1,24 +1,20 @@
{ stdenv, fetchurl, libtool, unbound, libidn, m4, file { stdenv, fetchurl, unbound, libidn2, openssl, doxygen, cmake }:
, openssl, doxygen, autoreconfHook, automake }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "getdns"; pname = "getdns";
version = "1.5.2"; version = "1.6.0";
versionRewrite = builtins.splitVersion version; versionRewrite = builtins.splitVersion version;
src = fetchurl { src = fetchurl {
url = "https://getdnsapi.net/releases/${pname}-${builtins.concatStringsSep "-" versionRewrite}/${pname}-${version}.tar.gz"; url = "https://getdnsapi.net/releases/${pname}-${
sha256 = "1h4l0sbkpiahpx2pd5lby10yi22mdxgx5xf1y80r77pa46iac9hq"; builtins.concatStringsSep "-" versionRewrite
}/${pname}-${version}.tar.gz";
sha256 = "0jhg7258wz287kjymimvdvv04n69lwxdc3sb62l2p453f5s77ra0";
}; };
nativeBuildInputs = [ libtool m4 autoreconfHook automake file ]; nativeBuildInputs = [ cmake ];
buildInputs = [ unbound libidn openssl doxygen ]; buildInputs = [ unbound libidn2 openssl doxygen ];
patchPhase = ''
substituteInPlace m4/acx_openssl.m4 \
--replace /usr/local/ssl ${openssl.dev}
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A modern asynchronous DNS API"; description = "A modern asynchronous DNS API";
@ -33,8 +29,8 @@ stdenv.mkDerivation rec {
inspire application developers to implement innovative security solutions in inspire application developers to implement innovative security solutions in
their applications. their applications.
''; '';
homepage = https://getdnsapi.net; homepage = "https://getdnsapi.net";
maintainers = with maintainers; [ leenaars ]; maintainers = with maintainers; [ leenaars ehmry ];
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.all; platforms = platforms.all;
}; };