2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libevent, openssl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libasr";
|
|
|
|
version= "1.0.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.opensmtpd.org/archives/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1d6s8njqhvayx2gp47409sp1fn8m608ws26hr1srfp6i23nnpyqr";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libevent openssl ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/OpenSMTPD/libasr";
|
|
|
|
description = "Free, simple and portable asynchronous resolver library";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.koral ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|