blob: a5b6cf9228d5832005dfd255702a7e30430a265d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ lib
, stdenv
, fetchurl
, libopensmtpd
, openssl
, mandoc
}:
stdenv.mkDerivation rec {
pname = "opensmtpd-filter-dkimsign";
version = "0.6";
src = fetchurl {
url = "https://imperialat.at/releases/filter-dkimsign-${version}.tar.gz";
hash = "sha256-O18NtAuSNg82uKnUx+R4h3e1IBSElTrFWBBkr2AYNsM=";
};
patches = [ ./no-chown-while-installing.patch ];
buildInputs = [ libopensmtpd openssl ];
nativeBuildInputs = [ mandoc ];
makeFlags = [
"-f Makefile.gnu"
"HAVE_ED25519=1"
"DESTDIR=$(out)"
"LOCALBASE="
];
meta = with lib; {
description = "OpenSMTPD filter for DKIM signing";
homepage = "http://imperialat.at/dev/filter-dkimsign/";
license = licenses.isc;
maintainers = with maintainers; [ malvo ];
};
}
|