mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
f16657b14f
svn path=/nixpkgs/trunk/; revision=16863
31 lines
646 B
Nix
31 lines
646 B
Nix
a :
|
|
let
|
|
s = import ./src-for-default.nix;
|
|
buildInputs = with a; [
|
|
bison flex openssl
|
|
];
|
|
in
|
|
rec {
|
|
src = a.fetchUrlFromSrcInfo s;
|
|
|
|
inherit (s) name;
|
|
inherit buildInputs;
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
|
configureFlags = [
|
|
"--with-ssl-incl-dir=${a.openssl}/include"
|
|
"--with-ssl-lib-dir=${a.openssl}/lib"
|
|
];
|
|
preConfigure = a.fullDepEntry (''
|
|
sed -e 's@/bin/@@' -i Makefile.in
|
|
'') ["doUnpack" "minInit"];
|
|
|
|
meta = {
|
|
description = "Monitoring system";
|
|
maintainers = [
|
|
a.lib.maintainers.raskin
|
|
];
|
|
};
|
|
}
|