a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
53 lines
898 B
Nix
53 lines
898 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, fontpens
|
|
, fonttools
|
|
, fs
|
|
, lxml
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, setuptools-scm
|
|
, unicodedata2
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "defcon";
|
|
version = "0.10.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ruOW5taeRa5lyCZHgTktTCkRaTSyc3rXbYIwtAwYKkQ=";
|
|
extension = "zip";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
fonttools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
fontpens
|
|
fs
|
|
lxml
|
|
pytestCheckHook
|
|
unicodedata2
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"defcon"
|
|
];
|
|
|
|
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 = with maintainers; [ sternenseemann ];
|
|
};
|
|
}
|