2015-02-13 01:24:05 +01:00
|
|
|
{ stdenv, fetchurl, libevent, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libasr";
|
2020-01-26 07:44:31 +01:00
|
|
|
version= "1.0.4";
|
2015-02-13 01:24:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://www.opensmtpd.org/archives/${pname}-${version}.tar.gz";
|
2020-01-26 07:44:31 +01:00
|
|
|
sha256 = "1d6s8njqhvayx2gp47409sp1fn8m608ws26hr1srfp6i23nnpyqr";
|
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
|
|
|
};
|
|
|
|
}
|