1 { lib, fetchFromGitHub, python3 }:
6 src = fetchFromGitHub {
10 hash = "sha256-vxJsz24jDsPcttwPXq9+ztc/N7W4Gkydgykk/FLgZLo=";
13 python3.pkgs.buildPythonApplication {
14 inherit pname version src;
16 outputs = [ "out" "man" ];
23 substituteInPlace setup.cfg \
24 --replace "build/dist" "dist" \
25 --replace "build/doc/man/" ""
29 python scripts/scons.py
33 mkdir -p "$man/share/man/man1"
34 mv "$out/"*.1 "$man/share/man/man1/"
37 setupHook = ./setup-hook.sh;
39 # The release tarballs don't contain any tests (runtest.py and test/*):
43 # expose the used python version so tools using this (and extensing scos
44 # with other python modules) can use the exact same python version.
50 description = "An improved, cross-platform substitute for Make";
52 SCons is an Open Source software construction tool. Think of SCons as an
53 improved, cross-platform substitute for the classic Make utility with
54 integrated functionality similar to autoconf/automake and compiler caches
55 such as ccache. In short, SCons is an easier, more reliable and faster way
58 homepage = "https://scons.org/";
59 license = lib.licenses.mit;
60 maintainers = with lib.maintainers; [ AndersonTorres ];