python3Packages.pyface: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-02-28 11:33:36 +01:00 committed by GitHub
parent 00e569b437
commit 107c75bc48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,35 @@
{ lib, fetchPypi, buildPythonPackage
, importlib-metadata, importlib-resources, six, traits
{ lib
, fetchPypi
, buildPythonPackage
, importlib-metadata
, importlib-resources
, traits
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyface";
version = "7.4.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-UtzzZ5yj5hCjynxLmQSpbGkWiASNtdflKvjlAZ5HrbY=";
};
propagatedBuildInputs = [ importlib-metadata importlib-resources six traits ];
propagatedBuildInputs = [
importlib-metadata
importlib-resources
traits
];
doCheck = false; # Needs X server
pythonImportsCheck = [ "pyface" ];
pythonImportsCheck = [
"pyface"
];
meta = with lib; {
description = "Traits-capable windowing framework";