git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.cx_Freeze: init at 4.3.4
commitcf4fe35364f3c51b5fd260c816825496ed9ccf7d authorRicardo Ardissone <ricardo.ardissone@gmail.com> dateMon 9 May 2016, 00:25 (11 years ago) parenta42f845
1 file changed+24
pkgs/top-level/python-packages.nix+24
pkgs/top-level/python-packages.nix+24
@@ -1941,6 +1941,30 @@ in modules // {
19411941 doCheck = false; # lazy packager
19421942 };
19431943
1944+ cx_Freeze = buildPythonPackage rec {
1945+ name = "cx_freeze-${version}";
1946+ version = "4.3.4";
1947+
1948+ # build failures
1949+ disabled = isPyPy || isPy35;
1950+
1951+ # timestamp need to come after 1980 for zipfiles and nix store is set to epoch
1952+ prePatch = ''
1953+ substituteInPlace cx_Freeze/freezer.py --replace "os.stat(module.file).st_mtime" "time.time()"
1954+ '';
1955+
1956+ src = pkgs.fetchurl {
1957+ url = "mirror://pypi/c/cx_Freeze/cx_Freeze-${version}.tar.gz";
1958+ sha256 = "1qhv0gq3ggr06k8cvzphma29zfqdajkx2yfzbw89s4vy23xbpis0";
1959+ };
1960+
1961+ meta = {
1962+ description = "A set of scripts and modules for freezing Python scripts into executables";
1963+ homepage = "http://cx-freeze.sourceforge.net/";
1964+ license = licenses.psfl;
1965+ };
1966+ };
1967+
19441968 cvxopt = buildPythonPackage rec {
19451969 name = "${pname}-${version}";
19461970 pname = "cvxopt";