@@ -1943,6 +1943,30 @@ in modules // {
19431943 doCheck = false; # lazy packager
19441944 };
19451945
1946+ cx_Freeze = buildPythonPackage rec {
1947+ name = "cx_freeze-${version}";
1948+ version = "4.3.4";
1949+
1950+ # build failures
1951+ disabled = isPyPy || isPy35;
1952+
1953+ # timestamp need to come after 1980 for zipfiles and nix store is set to epoch
1954+ prePatch = ''
1955+ substituteInPlace cx_Freeze/freezer.py --replace "os.stat(module.file).st_mtime" "time.time()"
1956+ '';
1957+
1958+ src = pkgs.fetchurl {
1959+ url = "mirror://pypi/c/cx_Freeze/cx_Freeze-${version}.tar.gz";
1960+ sha256 = "1qhv0gq3ggr06k8cvzphma29zfqdajkx2yfzbw89s4vy23xbpis0";
1961+ };
1962+
1963+ meta = {
1964+ description = "A set of scripts and modules for freezing Python scripts into executables";
1965+ homepage = "http://cx-freeze.sourceforge.net/";
1966+ license = licenses.psfl;
1967+ };
1968+ };
1969+
19461970 cvxopt = buildPythonPackage rec {
19471971 name = "${pname}-${version}";
19481972 pname = "cvxopt";