lol

python3Packages.envisage: 4.9.2 -> 5.0.0

+18 -20
+12 -2
pkgs/development/python-modules/apptools/default.nix
··· 1 1 { lib, fetchPypi, buildPythonPackage 2 - , configobj, six, traitsui 2 + , fetchpatch, configobj, six, traitsui 3 3 , pytestCheckHook, tables, pandas 4 - , importlib-resources 4 + , pythonOlder, importlib-resources 5 5 }: 6 6 7 7 buildPythonPackage rec { ··· 13 13 sha256 = "12x5lcs1cllpybz7f0i1lcwvmqsaa5n818wb2165lj049wqxx4yh"; 14 14 }; 15 15 16 + patches = [ 17 + # python39: importlib_resources -> importlib.resources. This patch will be included 18 + # in the next release after 5.1.0. 19 + (fetchpatch { 20 + url = "https://github.com/enthought/apptools/commit/0ae4f52f19a8c0ca9d7926e17c7de949097f24b4.patch"; 21 + sha256 = "165aiwjisr5c3lasg7xblcha7y1y5bq23vi3g9gc80c24bzwcbsw"; 22 + }) 23 + ]; 24 + 16 25 propagatedBuildInputs = [ 17 26 configobj 18 27 six 19 28 traitsui 29 + ] ++ lib.optionals (pythonOlder "3.9") [ 20 30 importlib-resources 21 31 ]; 22 32
+6 -18
pkgs/development/python-modules/envisage/default.nix
··· 1 - { lib, fetchPypi, fetchpatch, isPy27 1 + { lib, fetchPypi, isPy27 2 2 , buildPythonPackage 3 - , traits, apptools 4 - , python, ipykernel, ipython 3 + , traits, apptools, pytestCheckHook 4 + , ipykernel, ipython 5 5 }: 6 6 7 7 buildPythonPackage rec { 8 8 pname = "envisage"; 9 - version = "4.9.2"; 9 + version = "5.0.0"; 10 10 11 11 disabled = isPy27; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "1srjmkhnz84nz5jd72vdsnc4fn7dd9jr8nyf3hzk6yx1dsn815gd"; 15 + sha256 = "0zrxlq4v3091727vf10ngc8418sp26raxa8q83i4h0sydfkh2dic"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ traits apptools ]; ··· 21 21 export HOME=$PWD/HOME 22 22 ''; 23 23 24 - # fix a test failure; should be merged in next release 25 - patches = [ (fetchpatch { 26 - url = "https://github.com/enthought/envisage/pull/248/commits/7b6d2dd615d5cb7455b200eb8f37e030bbf4df9e.patch"; 27 - sha256 = "0a3dmbpxwsn1bkjcjv9v7b751rcmppj6hc9wcgiayg4l9r2nrvyh"; 28 - }) ]; 29 - 30 24 checkInputs = [ 31 - ipykernel ipython 25 + ipykernel ipython pytestCheckHook 32 26 ]; 33 - 34 - checkPhase = '' 35 - runHook preCheck 36 - ${python.interpreter} -m unittest 37 - runHook postCheck 38 - ''; 39 27 40 28 meta = with lib; { 41 29 description = "Framework for building applications whose functionalities can be extended by adding 'plug-ins'";