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/openarc | |
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/openarc')
-rw-r--r-- | pkgs/openarc/default.nix | 18 | ||||
-rw-r--r-- | pkgs/openarc/openarc.json | 15 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/openarc/default.nix b/pkgs/openarc/default.nix new file mode 100644 index 0000000..e5c9a81 --- /dev/null +++ b/pkgs/openarc/default.nix | |||
@@ -0,0 +1,18 @@ | |||
1 | { stdenv, autoconf, automake, file, libtool, libbsd, mylibs, openssl, pkg-config, libmilter }: | ||
2 | |||
3 | stdenv.mkDerivation (mylibs.fetchedGithub ./openarc.json // rec { | ||
4 | buildInputs = [ automake autoconf libbsd libtool openssl pkg-config libmilter ]; | ||
5 | |||
6 | configureFlags = [ | ||
7 | "--with-milter=${libmilter}" | ||
8 | ]; | ||
9 | preConfigure = '' | ||
10 | autoreconf --force --install | ||
11 | sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure | ||
12 | ''; | ||
13 | meta = with stdenv.lib; { | ||
14 | description = "Open source ARC implementation"; | ||
15 | homepage = https://github.com/trusteddomainproject/OpenARC; | ||
16 | platforms = platforms.unix; | ||
17 | }; | ||
18 | }) | ||
diff --git a/pkgs/openarc/openarc.json b/pkgs/openarc/openarc.json new file mode 100644 index 0000000..1081b09 --- /dev/null +++ b/pkgs/openarc/openarc.json | |||
@@ -0,0 +1,15 @@ | |||
1 | { | ||
2 | "tag": "355ee2a-master", | ||
3 | "meta": { | ||
4 | "name": "openarc", | ||
5 | "url": "https://github.com/trusteddomainproject/OpenARC", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "trusteddomainproject", | ||
10 | "repo": "OpenARC", | ||
11 | "rev": "355ee2a1ca85acccce494478991983b54f794f4e", | ||
12 | "sha256": "0101k6hwwf3pb3jrc88x86d4l698gjmynn9v2rpvxwxv200r2i65", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||