1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 setuptools,
6 traits,
7 pyface,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "traitsui";
13 version = "8.0.0";
14 format = "pyproject";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-kBudHLxFUT4Apzl2d7CYRBsod0tojzChWbrUgBv0A2Q=";
21 };
22
23 nativeBuildInputs = [ setuptools ];
24
25 propagatedBuildInputs = [
26 traits
27 pyface
28 ];
29
30 # Needs X server
31 doCheck = false;
32
33 pythonImportsCheck = [ "traitsui" ];
34
35 meta = with lib; {
36 description = "Traits-capable windowing framework";
37 homepage = "https://github.com/enthought/traitsui";
38 changelog = "https://github.com/enthought/traitsui/releases/tag/${version}";
39 license = licenses.bsdOriginal;
40 maintainers = with maintainers; [ ];
41 };
42}