diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-02 20:50:12 -0700 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-02 20:50:12 -0700 |
commit | 043c1325f657fea146becf0f7246bb4a398595f5 (patch) | |
tree | c3b519c4746d02276a07e8de75e03d85063ead90 /pkgs/development/python-modules/cx_freeze | |
parent | dfe6f3e4cbeb773b64bad93a10f14003e98a1481 (diff) | |
download | nixpkgs-043c1325f657fea146becf0f7246bb4a398595f5.tar nixpkgs-043c1325f657fea146becf0f7246bb4a398595f5.tar.gz nixpkgs-043c1325f657fea146becf0f7246bb4a398595f5.tar.bz2 nixpkgs-043c1325f657fea146becf0f7246bb4a398595f5.tar.lz nixpkgs-043c1325f657fea146becf0f7246bb4a398595f5.tar.xz nixpkgs-043c1325f657fea146becf0f7246bb4a398595f5.tar.zst nixpkgs-043c1325f657fea146becf0f7246bb4a398595f5.zip |
python310Packages.cx-freeze: rename from cx_Freeze
Diffstat (limited to 'pkgs/development/python-modules/cx_freeze')
-rw-r--r-- | pkgs/development/python-modules/cx_freeze/default.nix | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/pkgs/development/python-modules/cx_freeze/default.nix b/pkgs/development/python-modules/cx_freeze/default.nix deleted file mode 100644 index b30fa8e5659..00000000000 --- a/pkgs/development/python-modules/cx_freeze/default.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pythonOlder -, 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"; - inherit version; - hash = "sha256-ydox+o4B0t/dYD+nDiY5CmWupt1iMzyU2fA4tCqgVcg="; - }; - - nativeBuildInputs = [ - setuptools - wheel - ]; - - propagatedBuildInputs = [ - importlib-metadata # upstream has this for 3.8 as well - ncurses - setuptools - ]; - - postPatch = '' - # timestamp need to come after 1980 for zipfiles and nix store is set to epoch - substituteInPlace cx_Freeze/freezer.py --replace "st.st_mtime" "time.time()" - - sed -i /patchelf/d pyproject.toml - substituteInPlace pyproject.toml \ - --replace 'setuptools>=61.2,<67' setuptools - ''; - - makeWrapperArgs = [ - "--prefix" - "PATH" - ":" - (lib.makeBinPath [ patchelf ]) - ]; - - # fails to find Console even though it exists on python 3.x - doCheck = false; - - meta = with lib; { - description = "A set of scripts and modules for freezing Python scripts into executables"; - homepage = "https://marcelotduarte.github.io/cx_Freeze/"; - license = licenses.psfl; - maintainers = with maintainers; [ ]; - mainProgram = "cxfreeze"; - }; -} |