2015-02-13 00:24:05 +00:00
|
|
|
{ stdenv, fetchurl, libevent, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libasr";
|
2015-06-20 13:45:26 +01:00
|
|
|
version= "1.0.2";
|
2015-02-13 00:24:05 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://www.opensmtpd.org/archives/${pname}-${version}.tar.gz";
|
2015-06-20 13:45:26 +01:00
|
|
|
sha256 = "0d4blm0kzdhb75fq8sbcpvkc25lv5dbjaxa2ldniaf39633d3xd6";
|
2015-02-13 00:24:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libevent openssl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/OpenSMTPD/libasr;
|
2015-02-13 13:29:11 +00:00
|
|
|
description = "Free, simple and portable asynchronous resolver library";
|
2015-02-13 00:24:05 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.koral ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2015-02-13 00:24:05 +00:00
|
|
|
};
|
|
|
|
}
|