|
|
|
@ -1,19 +1,21 @@ |
|
|
|
|
{ lib |
|
|
|
|
, fetchPypi |
|
|
|
|
, isPy27 |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, traits |
|
|
|
|
, apptools |
|
|
|
|
, pytestCheckHook |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, fetchPypi |
|
|
|
|
, ipython |
|
|
|
|
, pytestCheckHook |
|
|
|
|
, pythonAtLeast |
|
|
|
|
, pythonOlder |
|
|
|
|
, setuptools |
|
|
|
|
, traits |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "envisage"; |
|
|
|
|
version = "6.0.1"; |
|
|
|
|
format = "setuptools"; |
|
|
|
|
|
|
|
|
|
disabled = isPy27; |
|
|
|
|
disabled = pythonOlder "3.6"; |
|
|
|
|
|
|
|
|
|
src = fetchPypi { |
|
|
|
|
inherit pname version; |
|
|
|
@ -22,7 +24,11 @@ buildPythonPackage rec { |
|
|
|
|
|
|
|
|
|
# for the optional dependency ipykernel, only versions < 6 are |
|
|
|
|
# supported, so it's not included in the tests, and not propagated |
|
|
|
|
propagatedBuildInputs = [ traits apptools setuptools ]; |
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
traits |
|
|
|
|
apptools |
|
|
|
|
setuptools |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
preCheck = '' |
|
|
|
|
export HOME=$PWD/HOME |
|
|
|
@ -33,10 +39,20 @@ buildPythonPackage rec { |
|
|
|
|
pytestCheckHook |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
disabledTestPaths = lib.optionals (pythonAtLeast "3.10") [ |
|
|
|
|
# https://github.com/enthought/envisage/issues/455 |
|
|
|
|
"envisage/tests/test_egg_basket_plugin_manager.py" |
|
|
|
|
"envisage/tests/test_egg_plugin_manager.py" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ |
|
|
|
|
"envisage" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Framework for building applications whose functionalities can be extended by adding 'plug-ins'"; |
|
|
|
|
description = "Framework for building applications whose functionalities can be extended by adding plug-ins"; |
|
|
|
|
homepage = "https://github.com/enthought/envisage"; |
|
|
|
|
maintainers = with lib.maintainers; [ knedlsepp ]; |
|
|
|
|
license = licenses.bsdOriginal; |
|
|
|
|
maintainers = with lib.maintainers; [ knedlsepp ]; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|