2015-02-13 00:24:05 +00:00
|
|
|
{ stdenv, fetchurl, libevent, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libasr-${version}";
|
2015-06-20 13:45:26 +01: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 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 ];
|
|
|
|
};
|
|
|
|
}
|