scons: 2.5.1 -> 3.0.0

"SCons release 3.0.0 now available from the download page at
SourceForge. This release should be used instead of 2.5.1. This release
fixes several issues.  TThis will be the first release to support Python
versions earlier than 2.7 as well as 3.5+."

"NOTE: This is a major release.  You should expect that some targets may
rebuild when upgrading.  Significant changes in some python action
signatures. Also switching between PY 2.7 and PY 3.5, 3.6 will cause
rebuilds."
This commit is contained in:
Michael Weiss
2017-10-20 16:32:26 +02:00
parent 3c62474d08
commit e40233e136
5 changed files with 56 additions and 35 deletions
@@ -1,30 +1,14 @@
{stdenv, fetchurl, python2Packages}:
{ callPackage, stdenv }:
let
name = "scons";
version = "2.5.1";
in python2Packages.buildPythonApplication {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://sourceforge/scons/${name}-${version}.tar.gz";
mkScons = args: callPackage (import ./common.nix args) { };
in {
scons_2_5_1 = mkScons {
version = "2.5.1";
sha256 = "1wji1z9jdkhnmm99apx6fhld9cs52rr56aigniyrcsmlwy52298b";
};
# No tests
doCheck = false;
meta = {
homepage = http://scons.org/;
description = "An improved, cross-platform substitute for Make";
license = stdenv.lib.licenses.mit;
longDescription = ''
SCons is an Open Source software construction tool. Think of
SCons as an improved, cross-platform substitute for the classic
Make utility with integrated functionality similar to
autoconf/automake and compiler caches such as ccache. In short,
SCons is an easier, more reliable and faster way to build
software.
'';
platforms = stdenv.lib.platforms.all;
scons_3_0_0 = mkScons {
version = "3.0.0";
sha256 = "05jjykllk4icnq6gfrkgkbc4ggxm7983q6r33mrhpilqbd02ylqg";
};
}