2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, libevent, openssl }:
|
2015-02-13 00:24:05 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00: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 12:41:18 +00: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 ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00: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 17:50:55 +00:00
|
|
|
platforms = platforms.unix;
|
2015-02-13 00:24:05 +00:00
|
|
|
};
|
|
|
|
}
|