diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-06-04 09:53:11 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:04:24 +0200 |
commit | 2b96efc8a4b287509c38509d44988f32a179a001 (patch) | |
tree | cdd0671badddde368f51510eac9ee2b20ff6073e /pkgs/opendmarc/default.nix | |
parent | fb7f2ad86ebdee514b3b361aa5615e333ac66780 (diff) | |
download | NUR-2b96efc8a4b287509c38509d44988f32a179a001.tar.gz NUR-2b96efc8a4b287509c38509d44988f32a179a001.tar.zst NUR-2b96efc8a4b287509c38509d44988f32a179a001.zip |
Add opendmarc openarc and opendkim configuration and packages
Diffstat (limited to 'pkgs/opendmarc/default.nix')
-rw-r--r-- | pkgs/opendmarc/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/opendmarc/default.nix b/pkgs/opendmarc/default.nix new file mode 100644 index 00000000..1c502482 --- /dev/null +++ b/pkgs/opendmarc/default.nix | |||
@@ -0,0 +1,26 @@ | |||
1 | { stdenv, fetchurl, pkgconfig, libbsd, openssl, libmilter , perl, makeWrapper, libspf2 }: | ||
2 | |||
3 | stdenv.mkDerivation rec { | ||
4 | name = "opendmarc-${version}"; | ||
5 | version = "1.3.2"; | ||
6 | |||
7 | src = fetchurl { | ||
8 | url = "mirror://sourceforge/opendmarc/files/${name}.tar.gz"; | ||
9 | sha256 = "1yrggj8yq0915y2i34gfz2xpl1w2lgb1vggp67rwspgzm40lng11"; | ||
10 | }; | ||
11 | |||
12 | configureFlags= [ | ||
13 | "--with-spf" | ||
14 | "--with-spf2-include=${libspf2}/include/spf2" | ||
15 | "--with-spf2-lib=${libspf2}/lib/" | ||
16 | "--with-milter=${libmilter}" | ||
17 | ]; | ||
18 | |||
19 | buildInputs = [ libspf2 libbsd openssl libmilter perl ]; | ||
20 | |||
21 | meta = with stdenv.lib; { | ||
22 | description = "Free open source software implementation of the DMARC specification"; | ||
23 | homepage = http://www.trusteddomain.org/opendmarc/; | ||
24 | platforms = platforms.unix; | ||
25 | }; | ||
26 | } | ||