summary refs log tree commit diff
path: root/pkgs/development/libraries/libasr/default.nix
blob: 8d5b6d128ddf361f9b66dba8d99cae17705003e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, stdenv, fetchurl, libevent, openssl }:

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 ];

  meta = with lib; {
    homepage = "https://github.com/OpenSMTPD/libasr";
    description = "Free, simple and portable asynchronous resolver library";
    license = licenses.isc;
    maintainers = [ maintainers.koral ];
    platforms = platforms.unix;
  };
}