diff options
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 | } | ||