1 { stdenv, mylibs, autoconf, automake,
2 libtool, pkg-config, naemon,
3 varDir ? "/var/lib/naemon",
6 stdenv.mkDerivation (mylibs.fetchedGithub ./naemon-livestatus.json // {
12 "--localstatedir=${varDir}"
13 "--sysconfdir=${etcDir}"
17 substituteInPlace Makefile --replace \
18 '@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am' \
19 '@$(MAKE) $(AM_MAKEFLAGS) install-exec-am'
22 buildInputs = [ autoconf automake libtool pkg-config naemon ];