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";
|
2020-01-26 06:44:31 +00:00
|
|
|
version= "1.0.4";
|
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";
|
2020-01-26 06:44:31 +00:00
|
|
|
sha256 = "1d6s8njqhvayx2gp47409sp1fn8m608ws26hr1srfp6i23nnpyqr";
|
2015-02-13 00:24:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libevent openssl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|