nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 58 lines 1.3 kB view raw
1{ lib 2, apptools 3, buildPythonPackage 4, fetchPypi 5, ipython 6, pytestCheckHook 7, pythonAtLeast 8, pythonOlder 9, setuptools 10, traits 11}: 12 13buildPythonPackage rec { 14 pname = "envisage"; 15 version = "6.0.1"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "8864c29aa344f7ac26eeb94788798f2d0cc791dcf95c632da8d79ebc580e114c"; 23 }; 24 25 # for the optional dependency ipykernel, only versions < 6 are 26 # supported, so it's not included in the tests, and not propagated 27 propagatedBuildInputs = [ 28 traits 29 apptools 30 setuptools 31 ]; 32 33 preCheck = '' 34 export HOME=$PWD/HOME 35 ''; 36 37 checkInputs = [ 38 ipython 39 pytestCheckHook 40 ]; 41 42 disabledTestPaths = lib.optionals (pythonAtLeast "3.10") [ 43 # https://github.com/enthought/envisage/issues/455 44 "envisage/tests/test_egg_basket_plugin_manager.py" 45 "envisage/tests/test_egg_plugin_manager.py" 46 ]; 47 48 pythonImportsCheck = [ 49 "envisage" 50 ]; 51 52 meta = with lib; { 53 description = "Framework for building applications whose functionalities can be extended by adding plug-ins"; 54 homepage = "https://github.com/enthought/envisage"; 55 license = licenses.bsdOriginal; 56 maintainers = with lib.maintainers; [ knedlsepp ]; 57 }; 58}