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