2015-02-13 00:24:05 +00:00
|
|
|
{ stdenv, fetchurl, libevent, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libasr-${version}";
|
2015-06-20 12:45:26 +00:00
|
|
|
version= "1.0.2";
|
2015-02-13 00:24:05 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.opensmtpd.org/archives/${name}.tar.gz";
|
2015-06-20 12:45:26 +00: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 17:50:55 +00:00
|
|
|
platforms = platforms.unix;
|
2015-02-13 00:24:05 +00:00
|
|
|
};
|
|
|
|
}
|