mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
Merge pull request #217953 from NickCao/defcon
python3Packages.defcon: rework packaging
This commit is contained in:
commit
c20ded695f
@ -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 New Issue
Block a user