2006-11-17 21:24:42 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "upstart-0.3.0";
|
2009-01-05 15:01:42 +01:00
|
|
|
|
2006-11-17 21:24:42 +01:00
|
|
|
src = fetchurl {
|
2009-01-05 15:01:42 +01:00
|
|
|
url = http://nixos.org/tarballs/upstart-0.3.0.tar.bz2;
|
2006-11-17 21:24:42 +01:00
|
|
|
md5 = "269046f41c6418225306280044a799eb";
|
|
|
|
};
|
2009-01-05 15:01:42 +01:00
|
|
|
|
2006-11-19 16:58:58 +01:00
|
|
|
configureFlags = "--enable-compat";
|
2009-01-05 15:01:42 +01:00
|
|
|
|
2006-11-19 19:16:13 +01:00
|
|
|
patches = [./cfgdir.patch];
|
2009-01-05 15:01:42 +01:00
|
|
|
|
2006-11-19 23:02:16 +01:00
|
|
|
preBuild = "export NIX_CFLAGS_COMPILE=\"$NIX_CFLAGS_COMPILE -DSHELL=\\\"$SHELL\\\"\"";
|
2009-01-05 15:01:42 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://upstart.ubuntu.com/";
|
|
|
|
description = "An event-based replacement for the /sbin/init daemon";
|
|
|
|
};
|
2006-11-17 21:24:42 +01:00
|
|
|
}
|