nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 51 lines 1.3 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 fetchpatch, 5 python3Packages, 6}: 7python3Packages.buildPythonApplication rec { 8 pname = "scons"; 9 version = "4.10.1"; 10 11 src = fetchFromGitHub { 12 owner = "Scons"; 13 repo = "scons"; 14 tag = version; 15 hash = "sha256-Lq6sDd6Bs9lMfTptlxdeNhOc1acP7xuLdDhIi65uqFo="; 16 }; 17 18 pyproject = true; 19 20 patches = [ ./env.patch ]; 21 22 build-system = [ 23 python3Packages.setuptools 24 ]; 25 26 dependencies = [ 27 python3Packages.distutils 28 ]; 29 30 setupHook = ./setup-hook.sh; 31 32 passthru = { 33 # expose the used python version so tools using this (and extensing scos 34 # with other python modules) can use the exact same python version. 35 inherit (python3Packages) python; 36 }; 37 38 meta = { 39 description = "Improved, cross-platform substitute for Make"; 40 longDescription = '' 41 SCons is an Open Source software construction tool. Think of SCons as an 42 improved, cross-platform substitute for the classic Make utility with 43 integrated functionality similar to autoconf/automake and compiler caches 44 such as ccache. In short, SCons is an easier, more reliable and faster way 45 to build software. 46 ''; 47 homepage = "https://scons.org/"; 48 license = lib.licenses.mit; 49 maintainers = [ ]; 50 }; 51}