blob: c6d74c6bddf23835b8e210e0e1e3849b5657f724 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ stdenv, automake, autoconf, libbsd, libtool, openssl, pkg-config, libmilter, file, lib, src }:
stdenv.mkDerivation rec {
pname = "openarc";
version = "master-${src.shortRev or "unknown"}";
inherit src;
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 = {
description = "Open source ARC implementation";
homepage = "https://github.com/trusteddomainproject/OpenARC";
platforms = lib.platforms.unix;
};
}
|