2022-03-05 16:20:37 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, importlib-metadata
|
|
|
|
, importlib-resources
|
2023-11-16 04:20:00 +00:00
|
|
|
, setuptools
|
2022-03-05 16:20:37 +00:00
|
|
|
, traits
|
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyface";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "8.0.0";
|
|
|
|
format = "pyproject";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-fhNhg0e3pkjtIM29T9GlFkj1AQKR815OD/G/cKcgy/g=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
importlib-metadata
|
|
|
|
importlib-resources
|
|
|
|
traits
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = false; # Needs X server
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"pyface"
|
|
|
|
];
|
2021-05-03 20:48:10 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Traits-capable windowing framework";
|
|
|
|
homepage = "https://github.com/enthought/pyface";
|
2022-12-02 08:20:57 +00:00
|
|
|
changelog = "https://github.com/enthought/pyface/releases/tag/${version}";
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = with maintainers; [ knedlsepp ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
};
|
|
|
|
}
|