python3Packages.pyface: disable on older Python releases
This commit is contained in:
parent
00e569b437
commit
107c75bc48
1 changed files with 18 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue