aboutsummaryrefslogblamecommitdiff
path: root/pkgs/openarc/default.nix
blob: e5c9a81c0c3a6465940c248b7d120c3e57dad9d2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                              
{ stdenv, autoconf, automake, file, libtool, libbsd, mylibs, openssl, pkg-config, libmilter }:

stdenv.mkDerivation (mylibs.fetchedGithub ./openarc.json // rec {
  buildInputs = [ automake autoconf libbsd libtool openssl pkg-config libmilter ];

  configureFlags = [
    "--with-milter=${libmilter}"
  ];
  preConfigure = ''
    autoreconf --force --install
    sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure
    '';
  meta = with stdenv.lib; {
    description = "Open source ARC implementation";
    homepage = https://github.com/trusteddomainproject/OpenARC;
    platforms = platforms.unix;
  };
})