2015-02-12 16:24:05 -08:00
|
|
|
{ stdenv, fetchurl, libevent, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libasr";
|
2020-01-25 22:44:31 -08:00
|
|
|
version= "1.0.4";
|
2015-02-12 16:24:05 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "https://www.opensmtpd.org/archives/${pname}-${version}.tar.gz";
|
2020-01-25 22:44:31 -08:00
|
|
|
sha256 = "1d6s8njqhvayx2gp47409sp1fn8m608ws26hr1srfp6i23nnpyqr";
|
2015-02-12 16:24:05 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libevent openssl ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/OpenSMTPD/libasr";
|
2015-02-13 05:29:11 -08:00
|
|
|
description = "Free, simple and portable asynchronous resolver library";
|
2015-02-12 16:24:05 -08:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.koral ];
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = platforms.unix;
|
2015-02-12 16:24:05 -08:00
|
|
|
};
|
|
|
|
}
|