2020-08-25 16:27:22 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
2021-03-09 10:11:40 +00:00
|
|
|
, fonttools, setuptools-scm
|
2021-07-20 22:07:53 +01:00
|
|
|
, pytest, pytest-runner, lxml, fs, unicodedata2, fontpens
|
2020-08-25 16:27:22 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "defcon";
|
2021-08-18 13:42:18 +01:00
|
|
|
version = "0.9.0";
|
2021-03-09 10:11:40 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-08-25 16:27:22 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-18 13:42:18 +01:00
|
|
|
sha256 = "140f51da51e9630a9fa11dfd34376c4e29785fdb0bddc2e371df5b36bec17b76";
|
2020-08-25 16:27:22 +01:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
2021-03-09 10:11:40 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
2020-08-25 16:27:22 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
fonttools
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
2021-07-20 22:07:53 +01:00
|
|
|
pytest-runner
|
2020-08-25 16:27:22 +01:00
|
|
|
lxml
|
|
|
|
fs
|
|
|
|
unicodedata2
|
|
|
|
fontpens
|
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|