nixpkgs/pkgs/development/libraries/libasr/default.nix

22 lines
583 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, libevent, openssl }:
2015-02-13 00:24:05 +00:00
stdenv.mkDerivation rec {
pname = "libasr";
2020-01-26 06:44:31 +00:00
version= "1.0.4";
2015-02-13 00:24:05 +00:00
src = fetchurl {
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 lib; {
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 ];
platforms = platforms.unix;
2015-02-13 00:24:05 +00:00
};
}