2017-10-19 13:54:59 +01:00
|
|
|
{ version, sha256 }:
|
|
|
|
|
2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchurl, python2Packages }:
|
2017-10-19 13:54:59 +01:00
|
|
|
|
|
|
|
let name = "scons";
|
|
|
|
in python2Packages.buildPythonApplication {
|
|
|
|
name = "${name}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/scons/${name}-${version}.tar.gz";
|
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fix a regression in 3.0.0 (causes build errors for some packages)
|
|
|
|
patches = stdenv.lib.optional (version == "3.0.0") ./print-statements.patch;
|
|
|
|
|
2018-11-12 02:49:51 +00:00
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
2017-10-19 13:54:59 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://scons.org/;
|
|
|
|
description = "An improved, cross-platform substitute for Make";
|
|
|
|
license = 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 = platforms.all;
|
2017-10-20 22:50:27 +01:00
|
|
|
maintainers = [ maintainers.primeos ];
|
2017-10-19 13:54:59 +01:00
|
|
|
};
|
|
|
|
}
|