Files
nixpkgs/pkgs/development/python-modules/envisage/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

52 lines
935 B
Nix

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