2017-10-19 13:54:59 +01:00
|
|
|
{ version, sha256 }:
|
|
|
|
|
2020-03-27 13:47:48 +00:00
|
|
|
{ stdenv, fetchurl, python3Packages, python2Packages, scons }:
|
2017-10-19 13:54:59 +01:00
|
|
|
|
2019-11-26 22:33:19 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "scons";
|
|
|
|
inherit version;
|
2017-10-19 13:54:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-11-26 22:33:19 +00:00
|
|
|
url = "mirror://sourceforge/scons/${pname}-${version}.tar.gz";
|
2017-10-19 13:54:59 +01:00
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
|
2018-11-12 02:49:51 +00:00
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
2020-03-27 13:47:48 +00:00
|
|
|
passthru.py2 = scons.override { python3Packages = python2Packages; };
|
|
|
|
|
2017-10-19 13:54:59 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An improved, cross-platform substitute for Make";
|
|
|
|
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.
|
|
|
|
'';
|
2020-03-27 13:47:48 +00:00
|
|
|
homepage = "https://scons.org/";
|
|
|
|
changelog = "https://raw.githubusercontent.com/SConsProject/scons/rel_${version}/src/CHANGES.txt";
|
|
|
|
license = licenses.mit;
|
2017-10-19 13:54:59 +01:00
|
|
|
platforms = platforms.all;
|
2017-10-20 22:50:27 +01:00
|
|
|
maintainers = [ maintainers.primeos ];
|
2017-10-19 13:54:59 +01:00
|
|
|
};
|
|
|
|
}
|