2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
2021-12-06 16:07:01 +00:00
|
|
|
, traits
|
|
|
|
, apptools
|
|
|
|
, pytestCheckHook
|
|
|
|
, ipython
|
|
|
|
, setuptools
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "envisage";
|
2021-08-25 08:27:29 +00:00
|
|
|
version = "6.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-25 08:27:29 +00:00
|
|
|
sha256 = "8864c29aa344f7ac26eeb94788798f2d0cc791dcf95c632da8d79ebc580e114c";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
# for the optional dependency ipykernel, only versions < 6 are
|
|
|
|
# supported, so it's not included in the tests, and not propagated
|
2021-08-08 23:34:03 +00:00
|
|
|
propagatedBuildInputs = [ traits apptools setuptools ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export HOME=$PWD/HOME
|
|
|
|
'';
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-12-06 16:07:01 +00:00
|
|
|
ipython
|
|
|
|
pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|