python3Packages.envisage: 4.9.2 -> 5.0.0

This commit is contained in:
Robert T. McGibbon
2021-03-26 14:37:13 -04:00
parent cfd96284ab
commit 24109ffdb6
2 changed files with 18 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
{ lib, fetchPypi, buildPythonPackage
, configobj, six, traitsui
, fetchpatch, configobj, six, traitsui
, pytestCheckHook, tables, pandas
, importlib-resources
, pythonOlder, importlib-resources
}:
buildPythonPackage rec {
@@ -13,10 +13,20 @@ buildPythonPackage rec {
sha256 = "12x5lcs1cllpybz7f0i1lcwvmqsaa5n818wb2165lj049wqxx4yh";
};
patches = [
# python39: importlib_resources -> importlib.resources. This patch will be included
# in the next release after 5.1.0.
(fetchpatch {
url = "https://github.com/enthought/apptools/commit/0ae4f52f19a8c0ca9d7926e17c7de949097f24b4.patch";
sha256 = "165aiwjisr5c3lasg7xblcha7y1y5bq23vi3g9gc80c24bzwcbsw";
})
];
propagatedBuildInputs = [
configobj
six
traitsui
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
];