2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
apptools,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2024-07-27 06:49:29 +00:00
|
|
|
pyface,
|
2024-06-05 15:53:02 +00:00
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
|
|
|
traits,
|
2024-07-27 06:49:29 +00:00
|
|
|
traitsui,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "envisage";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "7.0.3";
|
2024-07-27 06:49:29 +00:00
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-97GviL86j/8qmsbja7SN6pkp4/YSIEz+lK7WKwMWyeM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [
|
2022-01-13 20:06:32 +00:00
|
|
|
apptools
|
2024-07-27 06:49:29 +00:00
|
|
|
pyface
|
2022-01-13 20:06:32 +00:00
|
|
|
setuptools
|
2024-07-27 06:49:29 +00:00
|
|
|
traits
|
|
|
|
traitsui
|
|
|
|
] ++ apptools.optional-dependencies.preferences;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export HOME=$PWD/HOME
|
|
|
|
'';
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2022-01-13 20:06:32 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "envisage" ];
|
2022-01-13 20:06:32 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
2022-01-13 20:06:32 +00:00
|
|
|
description = "Framework for building applications whose functionalities can be extended by adding plug-ins";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/enthought/envisage";
|
|
|
|
license = licenses.bsdOriginal;
|
2022-01-13 20:06:32 +00:00
|
|
|
maintainers = with lib.maintainers; [ knedlsepp ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|