Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchPypi, setuptools, setuptools-scm, fonttools, fontpens, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "defcon"; version = "0.12.2"; pyproject = true;
__structuredAttrs = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Jd/n/QFSzPKSyxkNGSikfViImcILBGhUKT4DnhyT5eA="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ fonttools ] ++ fonttools.optional-dependencies.ufo ++ fonttools.optional-dependencies.unicode;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "defcon" ];
optional-dependencies = { pens = [ fontpens ]; lxml = [ fonttools ] ++ fonttools.optional-dependencies.lxml; };
meta = { description = "Set of UFO based objects for use in font editing applications"; homepage = "https://github.com/robotools/defcon"; changelog = "https://github.com/robotools/defcon/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sternenseemann ]; };})