Merge pull request #217953 from NickCao/defcon
python3Packages.defcon: rework packaging
This commit is contained in:
commit
c20ded695f
1 changed files with 13 additions and 12 deletions
|
@ -1,14 +1,11 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fontpens
|
||||
, fonttools
|
||||
, fs
|
||||
, lxml
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, unicodedata2
|
||||
, fonttools
|
||||
, fontpens
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -30,23 +27,27 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
fonttools
|
||||
];
|
||||
]
|
||||
++ fonttools.optional-dependencies.ufo
|
||||
++ fonttools.optional-dependencies.unicode;
|
||||
|
||||
nativeCheckInputs = [
|
||||
fontpens
|
||||
fs
|
||||
lxml
|
||||
pytestCheckHook
|
||||
unicodedata2
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"defcon"
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
pens = [ fontpens ];
|
||||
lxml = [ fonttools ] ++ fonttools.optional-dependencies.lxml;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A set of UFO based objects for use in font editing applications";
|
||||
homepage = "https://github.com/robotools/defcon";
|
||||
changelog = "https://github.com/robotools/defcon/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sternenseemann ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue