python310Packages.defcon: update disabled
- add pythonImportsCheck - switch to pytestCheckHook
This commit is contained in:
parent
7761ae9ec0
commit
e3884e3c67
@ -1,17 +1,26 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||
, fonttools, setuptools-scm
|
||||
, pytest, pytest-runner, lxml, fs, unicodedata2, fontpens
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fontpens
|
||||
, fonttools
|
||||
, fs
|
||||
, lxml
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
, unicodedata2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "defcon";
|
||||
version = "0.10.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-ruOW5taeRa5lyCZHgTktTCkRaTSyc3rXbYIwtAwYKkQ=";
|
||||
hash = "sha256-ruOW5taeRa5lyCZHgTktTCkRaTSyc3rXbYIwtAwYKkQ=";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
@ -24,18 +33,21 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytest-runner
|
||||
lxml
|
||||
fs
|
||||
unicodedata2
|
||||
fontpens
|
||||
fs
|
||||
lxml
|
||||
pytestCheckHook
|
||||
unicodedata2
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"defcon"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A set of UFO based objects for use in font editing applications";
|
||||
homepage = "https://github.com/robotools/defcon";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
maintainers = with maintainers; [ sternenseemann ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user