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