1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/system/monit/default.nix
2009-08-26 16:22:20 +00:00

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
];
};
}