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> | 2019-06-04 23:57:44 +0200 |
commit | 411af8e3f754278c5b54dfef7e1bd144a6007c39 (patch) | |
tree | b5076223d0a6fec0561e2f7da772ee6dd873e944 /pkgs/opendmarc/default.nix | |
parent | 9247b444929061f32be9b003621e1da555ebc770 (diff) | |
download | Nix-411af8e3f754278c5b54dfef7e1bd144a6007c39.tar.gz Nix-411af8e3f754278c5b54dfef7e1bd144a6007c39.tar.zst Nix-411af8e3f754278c5b54dfef7e1bd144a6007c39.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 0000000..1c50248 --- /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 | } | ||