python3Packages.cx_Freeze: fix build

This commit is contained in:
Jonathan Ringer
2020-12-01 14:44:23 +01:00
committed by Frederik Rietdijk
parent 029d3f5ccc
commit 89857a3c1e
@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, ncurses }:
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, ncurses, importlib-metadata }:
buildPythonPackage rec {
pname = "cx_Freeze";
@@ -11,7 +11,10 @@ buildPythonPackage rec {
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
prePatch = ''