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