7d542a9f98
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
41 lines
830 B
Nix
41 lines
830 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, importlib-metadata
|
|
, importlib-resources
|
|
, traits
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyface";
|
|
version = "7.4.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ds0e4C6UaVH7bCt/+YDduJEhQ31hq15t/epaeTZ9kDY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
importlib-metadata
|
|
importlib-resources
|
|
traits
|
|
];
|
|
|
|
doCheck = false; # Needs X server
|
|
|
|
pythonImportsCheck = [
|
|
"pyface"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Traits-capable windowing framework";
|
|
homepage = "https://github.com/enthought/pyface";
|
|
changelog = "https://github.com/enthought/pyface/releases/tag/${version}";
|
|
maintainers = with maintainers; [ knedlsepp ];
|
|
license = licenses.bsdOriginal;
|
|
};
|
|
}
|