lol

scons_4_1_0: detach from sconsPackages

This is probably a legacy release, since I have found no other package using it.

+52 -4
+50
pkgs/development/tools/build-managers/scons/4.1.0.nix
··· 1 + { lib, fetchurl, python3 }: 2 + 3 + let 4 + pname = "scons"; 5 + version = "4.1.0"; 6 + src = fetchurl { 7 + url = "mirror://sourceforge/scons/scons-${version}.tar.gz"; 8 + hash = "sha256-ctKNdi4hJnh/Fz49WeCJI5+LL06e8xFNV/ELEgaYXYU="; 9 + }; 10 + in 11 + python3.pkgs.buildPythonApplication { 12 + inherit pname version src; 13 + 14 + postPatch = '' 15 + substituteInPlace setup.cfg \ 16 + --replace "build/dist" "dist" \ 17 + --replace "build/doc/man/" "" 18 + ''; 19 + 20 + postInstall = '' 21 + mkdir -p "$out/share/man/man1" 22 + mv "$out/"*.1 "$out/share/man/man1/" 23 + ''; 24 + 25 + setupHook = ./setup-hook.sh; 26 + 27 + # The release tarballs don't contain any tests (runtest.py and test/*): 28 + doCheck = false; 29 + 30 + passthru = { 31 + # expose the used python version so tools using this (and extensing scos 32 + # with other python modules) can use the exact same python version. 33 + inherit python3; 34 + python = python3; 35 + }; 36 + 37 + meta = { 38 + description = "An improved, cross-platform substitute for Make"; 39 + longDescription = '' 40 + SCons is an Open Source software construction tool. Think of SCons as an 41 + improved, cross-platform substitute for the classic Make utility with 42 + integrated functionality similar to autoconf/automake and compiler caches 43 + such as ccache. In short, SCons is an easier, more reliable and faster way 44 + to build software. 45 + ''; 46 + homepage = "https://scons.org/"; 47 + license = lib.licenses.mit; 48 + maintainers = with lib.maintainers; [ AndersonTorres ]; 49 + }; 50 + }
-4
pkgs/development/tools/build-managers/scons/default.nix
··· 5 5 python = python3; 6 6 }; 7 7 in { 8 - scons_4_1_0 = mkScons { 9 - version = "4.1.0"; 10 - sha256 = "11axk03142ziax6i3wwy9qpqp7r3i7h5jg9y2xzph9i15rv8vlkj"; 11 - }; 12 8 scons_latest = mkScons { 13 9 version = "4.5.2"; 14 10 sha256 = "sha256-ziaqyV01CnmkGSGWsL6sPLJPTMq84BI+so0zcPV28HI=";
+2
pkgs/top-level/all-packages.nix
··· 20066 20066 20067 20067 scons_3_1_2 = callPackage ../development/tools/build-managers/scons/3.1.2.nix { }; 20068 20068 20069 + scons_4_1_0 = callPackage ../development/tools/build-managers/scons/4.1.0.nix { }; 20070 + 20069 20071 sconsPackages = dontRecurseIntoAttrs (callPackage ../development/tools/build-managers/scons { }); 20070 20072 scons = sconsPackages.scons_latest; 20071 20073