12 buildPythonPackage rec {
17 disabled = pythonOlder "3.8";
22 hash = "sha256-xjmRiG/ypTGfjw0HwDSaa74aZbXzIPi5JDiI5jyaSiI=";
30 propagatedBuildInputs = [
31 importlib-metadata # upstream has this for 3.8 as well
37 # timestamp need to come after 1980 for zipfiles and nix store is set to epoch
38 substituteInPlace cx_Freeze/freezer.py \
39 --replace "st.st_mtime" "time.time()"
41 sed -i /patchelf/d pyproject.toml
48 (lib.makeBinPath [ patchelf ])
51 # fails to find Console even though it exists on python 3.x
55 description = "A set of scripts and modules for freezing Python scripts into executables";
56 homepage = "https://marcelotduarte.github.io/cx_Freeze/";
57 changelog = "https://github.com/marcelotduarte/cx_Freeze/releases/tag/${version}";
58 license = licenses.psfl;
59 maintainers = with maintainers; [ ];
60 mainProgram = "cxfreeze";