cx_Freeze: disable python2.7 (#97763)

This commit is contained in:
Matthieu Coudron 2020-09-12 17:58:29 +02:00 committed by GitHub
commit 1be0767ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, ncurses }:
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, ncurses }:
buildPythonPackage rec {
pname = "cx_Freeze";
@ -9,6 +9,8 @@ buildPythonPackage rec {
sha256 = "44bbbcea3196b79da77cc22637cb28a825b51182d32209e8a3f6cd4042edc247";
};
disabled = pythonOlder "3.5";
propagatedBuildInputs = [ ncurses ];
# timestamp need to come after 1980 for zipfiles and nix store is set to epoch