blob: 8ebc736097b0c74e27e355c4ff384da84e513508 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "scons";
version = "4.7.0";
src = fetchFromGitHub {
owner = "Scons";
repo = "scons";
rev = version;
hash = "sha256-7VzGuz9CAUF6MRCEpj5z1FkZD19/Ic+YBukYQocvkr0=";
};
pyproject = true;
patches = [
./env.patch
./no-man-pages.patch
];
build-system = [
python3Packages.setuptools
];
setupHook = ./setup-hook.sh;
passthru = {
# expose the used python version so tools using this (and extensing scos
# with other python modules) can use the exact same python version.
inherit (python3Packages) python;
};
meta = {
description = "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.
'';
homepage = "https://scons.org/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres ];
};
}
|