2009-09-01 22:12:01 +02:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
s = import ./src-for-default.nix;
|
|
|
|
buildInputs = with a; [
|
2009-09-01 23:00:34 +02:00
|
|
|
openssl gmp
|
2009-09-01 22:12:01 +02:00
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = a.fetchUrlFromSrcInfo s;
|
|
|
|
|
|
|
|
inherit (s) name;
|
|
|
|
inherit buildInputs;
|
2009-09-01 23:00:34 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-tcp"
|
|
|
|
"--enable-http-proxy"
|
|
|
|
"--enable-dns"
|
|
|
|
];
|
2009-09-01 22:12:01 +02:00
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A proteted multinode virtual network";
|
|
|
|
maintainers = [
|
|
|
|
a.lib.maintainers.raskin
|
|
|
|
];
|
|
|
|
platforms = with a.lib.platforms; linux ++ freebsd;
|
|
|
|
};
|
|
|
|
}
|