2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, fontpens
|
|
|
|
, fonttools
|
|
|
|
, fs
|
|
|
|
, lxml
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, setuptools-scm
|
|
|
|
, unicodedata2
|
2020-09-25 04:45:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "defcon";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.10.2";
|
|
|
|
format = "setuptools";
|
2021-03-12 07:09:13 +00:00
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-08-12 12:06:08 +00:00
|
|
|
hash = "sha256-ruOW5taeRa5lyCZHgTktTCkRaTSyc3rXbYIwtAwYKkQ=";
|
2020-09-25 04:45:31 +00:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
2021-03-12 07:09:13 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
fonttools
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2022-08-12 12:06:08 +00:00
|
|
|
fontpens
|
2020-09-25 04:45:31 +00:00
|
|
|
fs
|
2022-08-12 12:06:08 +00:00
|
|
|
lxml
|
|
|
|
pytestCheckHook
|
2020-09-25 04:45:31 +00:00
|
|
|
unicodedata2
|
2022-08-12 12:06:08 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"defcon"
|
2020-09-25 04:45:31 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
2022-08-12 12:06:08 +00:00
|
|
|
maintainers = with maintainers; [ sternenseemann ];
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|