python3Packages.cx_Freeze: fix build

This commit is contained in:
Jonathan Ringer 2020-11-29 10:34:00 -08:00 committed by Frederik Rietdijk
parent 029d3f5ccc
commit 89857a3c1e

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, ncurses }: { stdenv, buildPythonPackage, pythonOlder, fetchPypi, ncurses, importlib-metadata }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "cx_Freeze"; pname = "cx_Freeze";
@ -11,7 +11,10 @@ buildPythonPackage rec {
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
propagatedBuildInputs = [ ncurses ]; propagatedBuildInputs = [
importlib-metadata # upstream has this for 3.8 as well
ncurses
];
# timestamp need to come after 1980 for zipfiles and nix store is set to epoch # timestamp need to come after 1980 for zipfiles and nix store is set to epoch
prePatch = '' prePatch = ''