scons: 4.0.1 -> 4.1.0
This commit is contained in:
parent
e48b0ede04
commit
9d8900b8a4
|
@ -16,11 +16,19 @@ python3Packages.buildPythonApplication rec {
|
||||||
postPatch = lib.optionalString (lib.versionAtLeast version "4.0.0") ''
|
postPatch = lib.optionalString (lib.versionAtLeast version "4.0.0") ''
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace setup.cfg \
|
||||||
--replace "build/dist" "dist"
|
--replace "build/dist" "dist"
|
||||||
|
'' + lib.optionalString (lib.versionAtLeast version "4.1.0") ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "build/doc/man/" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# The release tarballs don't contain any tests (runtest.py and test/*):
|
# The release tarballs don't contain any tests (runtest.py and test/*):
|
||||||
doCheck = lib.versionOlder version "4.0.0";
|
doCheck = lib.versionOlder version "4.0.0";
|
||||||
|
|
||||||
|
postInstall = lib.optionalString (lib.versionAtLeast version "4.1.0") ''
|
||||||
|
mkdir -p "$out/share/man/man1"
|
||||||
|
mv "$out/"*.1 "$out/share/man/man1/"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An improved, cross-platform substitute for Make";
|
description = "An improved, cross-platform substitute for Make";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
|
@ -12,7 +12,7 @@ in {
|
||||||
sha256 = "1yzq2gg9zwz9rvfn42v5jzl3g4qf1khhny6zfbi2hib55zvg60bq";
|
sha256 = "1yzq2gg9zwz9rvfn42v5jzl3g4qf1khhny6zfbi2hib55zvg60bq";
|
||||||
}).override { python3Packages = python2Packages; };
|
}).override { python3Packages = python2Packages; };
|
||||||
scons_latest = mkScons {
|
scons_latest = mkScons {
|
||||||
version = "4.0.1";
|
version = "4.1.0";
|
||||||
sha256 = "0z00l9wzaiqyjq0hapbvsjclvcfjjjq04kmxi7ffq966nl2d2bkj";
|
sha256 = "11axk03142ziax6i3wwy9qpqp7r3i7h5jg9y2xzph9i15rv8vlkj";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue