My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/servers/mail/opensmtpd/libopensmtpd/default.nix

34 lines
707 B

{ lib
, stdenv
, fetchurl
, libevent
, mandoc
}:
stdenv.mkDerivation rec {
pname = "libopensmtpd";
version = "0.7";
src = fetchurl {
url = "https://imperialat.at/releases/libopensmtpd-${version}.tar.gz";
hash = "sha256-zdbV4RpwY/kmXaQ6QjCcZGVUuLaLA5gsqEctvisIphM=";
};
patches = [ ./no-chown-while-installing.patch ];
buildInputs = [ libevent ];
nativeBuildInputs = [ mandoc ];
makeFlags = [
"-f Makefile.gnu"
"DESTDIR=$(out)"
"LOCALBASE="
];
meta = with lib; {
description = "Library for creating OpenSMTPD filters";
homepage = "http://imperialat.at/dev/libopensmtpd/";
license = licenses.isc;
maintainers = with maintainers; [ malvo ];
};
}