munin: 2.0.37 -> 2.0.43

Also creates the RELEASE file in preBuild so that munin knows its own
version number at runtime.
This commit is contained in:
Ben Kelly 2018-12-15 15:02:54 -05:00 committed by Ben Kelly
parent ace4855cf6
commit 85cdd06e0c

View file

@ -3,14 +3,14 @@
}:
stdenv.mkDerivation rec {
version = "2.0.37";
version = "2.0.43";
name = "munin-${version}";
src = fetchFromGitHub {
owner = "munin-monitoring";
repo = "munin";
rev = version;
sha256 = "10niyzckx90dwdr4d7vj07d1qjy3nk7xzp30nqnlxzbaww7n5v78";
sha256 = "1ydhf9hcb3n5h0ss5f1zf9yz4r4njqxazlz931ixvx5gyhj9gq5l";
};
buildInputs = [
@ -75,6 +75,7 @@ stdenv.mkDerivation rec {
];
preBuild = ''
echo "${version}" > RELEASE
substituteInPlace "Makefile" \
--replace "/bin/pwd" "pwd" \
--replace "HTMLOld.3pm" "HTMLOld.3"