lol

python312Packages.cx-freeze: 7.1.1 -> 7.2.0 (#340104)

authored by

Fabian Affolter and committed by
GitHub
8544965a d7f8cb0f

+17 -18
+17 -18
pkgs/development/python-modules/cx-freeze/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 + distutils, 4 5 fetchPypi, 5 6 pythonOlder, 6 7 ncurses, 8 + packaging, 7 9 setuptools, 8 10 filelock, 9 - typing-extensions, 10 11 wheel, 11 12 patchelf, 12 13 }: 13 14 14 15 buildPythonPackage rec { 15 16 pname = "cx-freeze"; 16 - version = "7.1.1"; 17 + version = "7.2.0"; 17 18 pyproject = true; 18 19 19 - disabled = pythonOlder "3.8"; 20 + disabled = pythonOlder "3.11"; 20 21 21 22 src = fetchPypi { 22 23 pname = "cx_freeze"; 23 24 inherit version; 24 - hash = "sha256-M1wwutDj5lNlXyMJkzCEWL7cmXuvW3qZXoZB3rousoc="; 25 + hash = "sha256-xX9xAbTTUTJGSx7IjLiUjDt8W07OS7NUwWCRWJyzNYM="; 25 26 }; 26 27 27 - pythonRelaxDeps = [ 28 - "setuptools" 29 - "wheel" 30 - ]; 28 + postPatch = '' 29 + sed -i /patchelf/d pyproject.toml 30 + # Build system requirements 31 + substituteInPlace pyproject.toml \ 32 + --replace-fail "setuptools>=65.6.3,<71" "setuptools" \ 33 + --replace-fail "wheel>=0.42.0,<=0.43.0" "wheel" 34 + ''; 31 35 32 36 build-system = [ 33 37 setuptools 34 38 wheel 35 39 ]; 36 40 37 - buildInputs = [ 38 - ncurses 39 - ]; 41 + buildInputs = [ ncurses ]; 40 42 41 43 dependencies = [ 44 + distutils 42 45 filelock 46 + packaging 43 47 setuptools 44 - ] ++ lib.optionals (pythonOlder "3.10") [ 45 - typing-extensions 48 + wheel 46 49 ]; 47 - 48 - postPatch = '' 49 - sed -i /patchelf/d pyproject.toml 50 - ''; 51 50 52 51 makeWrapperArgs = [ 53 52 "--prefix" ··· 56 55 (lib.makeBinPath [ patchelf ]) 57 56 ]; 58 57 59 - # fails to find Console even though it exists on python 3.x 58 + # Fails to find Console even though it exists on python 3.x 60 59 doCheck = false; 61 60 62 61 meta = with lib; {