07b8fe0546
GitOrigin-RevId: 916ee862e87ac5ee2439f2fb7856386b4dc906ae
41 lines
824 B
Nix
41 lines
824 B
Nix
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
|
, fonttools, setuptools-scm
|
|
, pytest, pytestrunner, lxml, fs, unicodedata2, fontpens
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "defcon";
|
|
version = "0.8.0";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "028j7i39m75fnbyc6jsvwwiz31vq4slxwf47y6yszy1qn61xkcna";
|
|
extension = "zip";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|