depot/third_party/nixpkgs/pkgs/development/python-modules/envisage/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

52 lines
999 B
Nix

{
lib,
apptools,
buildPythonPackage,
fetchPypi,
ipython,
pyface,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
setuptools,
traits,
traitsui,
}:
buildPythonPackage rec {
pname = "envisage";
version = "7.0.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-97GviL86j/8qmsbja7SN6pkp4/YSIEz+lK7WKwMWyeM=";
};
build-system = [ setuptools ];
dependencies = [
apptools
pyface
setuptools
traits
traitsui
] ++ apptools.optional-dependencies.preferences;
preCheck = ''
export HOME=$PWD/HOME
'';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "envisage" ];
meta = with lib; {
description = "Framework for building applications whose functionalities can be extended by adding plug-ins";
homepage = "https://github.com/enthought/envisage";
license = licenses.bsdOriginal;
maintainers = with lib.maintainers; [ knedlsepp ];
};
}