nixpkgs-suyu/pkgs/development/python-modules/defcon/default.nix

42 lines
824 B
Nix
Raw Normal View History

2020-08-25 17:27:22 +02:00
{ lib, buildPythonPackage, fetchPypi, pythonOlder
2021-03-09 11:11:40 +01:00
, fonttools, setuptools-scm
2020-08-25 17:27:22 +02:00
, pytest, pytestrunner, lxml, fs, unicodedata2, fontpens
}:
buildPythonPackage rec {
pname = "defcon";
2021-03-12 15:31:26 +01:00
version = "0.8.1";
2021-03-09 11:11:40 +01:00
disabled = pythonOlder "3.6";
2020-08-25 17:27:22 +02:00
src = fetchPypi {
inherit pname version;
2021-03-12 15:31:26 +01:00
sha256 = "1sj9yhwkyvzchglpy07pkx5362mwlap581ibv150b5l9s5mxn2j1";
2020-08-25 17:27:22 +02:00
extension = "zip";
};
2021-03-09 11:11:40 +01:00
nativeBuildInputs = [
setuptools-scm
];
2020-08-25 17:27:22 +02:00
propagatedBuildInputs = [
fonttools
];
checkInputs = [
pytest
pytestrunner
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 ];
};
}