diff --git a/pkgs/applications/audio/easyabc/default.nix b/pkgs/applications/audio/easyabc/default.nix index 9f45d04524132..94d8e83080b44 100644 --- a/pkgs/applications/audio/easyabc/default.nix +++ b/pkgs/applications/audio/easyabc/default.nix @@ -15,7 +15,7 @@ python39.pkgs.buildPythonApplication { nativeBuildInputs = [ wrapGAppsHook ]; propagatedBuildInputs = with python39.pkgs; [ - cx_Freeze + cx-freeze wxPython_4_2 pygame ]; diff --git a/pkgs/development/python-modules/cx_freeze/default.nix b/pkgs/development/python-modules/cx-freeze/default.nix similarity index 93% rename from pkgs/development/python-modules/cx_freeze/default.nix rename to pkgs/development/python-modules/cx-freeze/default.nix index 0681b727b2204..b30fa8e5659fc 100644 --- a/pkgs/development/python-modules/cx_freeze/default.nix +++ b/pkgs/development/python-modules/cx-freeze/default.nix @@ -5,12 +5,16 @@ , ncurses , importlib-metadata , setuptools +, wheel , patchelf }: buildPythonPackage rec { pname = "cx-freeze"; version = "6.14.4"; + format = "pyproject"; + + disabled = pythonOlder "3.5"; src = fetchPypi { pname = "cx_Freeze"; @@ -18,7 +22,10 @@ buildPythonPackage rec { hash = "sha256-ydox+o4B0t/dYD+nDiY5CmWupt1iMzyU2fA4tCqgVcg="; }; - disabled = pythonOlder "3.5"; + nativeBuildInputs = [ + setuptools + wheel + ]; propagatedBuildInputs = [ importlib-metadata # upstream has this for 3.8 as well diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index a6ef2838bcb68..2333a255cfadb 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -77,6 +77,7 @@ mapAliases ({ coronavirus = throw "coronavirus was removed, because the source is not providing the data anymore."; # added 2023-05-04 cozy = throw "cozy was removed because it was not actually https://pypi.org/project/Cozy/."; # added 2022-01-14 cryptography_vectors = "cryptography_vectors is no longer exposed in python*Packages because it is used for testing cryptography only."; # Added 2022-03-23 + cx_Freeze = cx-freeze; # added 2023-08-02 dask-xgboost = throw "dask-xgboost was removed because its features are available in xgboost"; # added 2022-05-24 dateutil = python-dateutil; # added 2021-07-03 demjson = throw "demjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5c498ff9519aa..355ae020f1ef2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2326,7 +2326,7 @@ self: super: with self; { cwlformat = callPackage ../development/python-modules/cwlformat { }; - cx_Freeze = callPackage ../development/python-modules/cx_freeze { }; + cx-freeze = callPackage ../development/python-modules/cx-freeze { }; cx_oracle = callPackage ../development/python-modules/cx_oracle { };