1{ lib
2, fetchPypi
3, isPy27
4, buildPythonPackage
5, traits
6, apptools
7, pytestCheckHook
8, ipython
9, setuptools
10}:
11
12buildPythonPackage rec {
13 pname = "envisage";
14 version = "6.0.1";
15
16 disabled = isPy27;
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "8864c29aa344f7ac26eeb94788798f2d0cc791dcf95c632da8d79ebc580e114c";
21 };
22
23 # for the optional dependency ipykernel, only versions < 6 are
24 # supported, so it's not included in the tests, and not propagated
25 propagatedBuildInputs = [ traits apptools setuptools ];
26
27 preCheck = ''
28 export HOME=$PWD/HOME
29 '';
30
31 checkInputs = [
32 ipython
33 pytestCheckHook
34 ];
35
36 meta = with lib; {
37 description = "Framework for building applications whose functionalities can be extended by adding 'plug-ins'";
38 homepage = "https://github.com/enthought/envisage";
39 maintainers = with lib.maintainers; [ knedlsepp ];
40 license = licenses.bsdOriginal;
41 };
42}