commit
0f972a2534
@ -16,11 +16,19 @@ python3Packages.buildPythonApplication rec {
|
||||
postPatch = lib.optionalString (lib.versionAtLeast version "4.0.0") ''
|
||||
substituteInPlace setup.cfg \
|
||||
--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/*):
|
||||
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; {
|
||||
description = "An improved, cross-platform substitute for Make";
|
||||
longDescription = ''
|
||||
|
@ -12,7 +12,7 @@ in {
|
||||
sha256 = "1yzq2gg9zwz9rvfn42v5jzl3g4qf1khhny6zfbi2hib55zvg60bq";
|
||||
}).override { python3Packages = python2Packages; };
|
||||
scons_latest = mkScons {
|
||||
version = "4.0.1";
|
||||
sha256 = "0z00l9wzaiqyjq0hapbvsjclvcfjjjq04kmxi7ffq966nl2d2bkj";
|
||||
version = "4.1.0";
|
||||
sha256 = "11axk03142ziax6i3wwy9qpqp7r3i7h5jg9y2xzph9i15rv8vlkj";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user