a2f49342d8
Notably fwupd, pipewire and flatpak. I want to focus on GNOME and other packages I still actually use. Pipewire is still important but I have not touched the packaging in a while.
69 lines
1.4 KiB
Nix
69 lines
1.4 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
|
|
# build
|
|
, setuptools-scm
|
|
|
|
# runtime
|
|
, booleanoperations
|
|
, cffsubr
|
|
, compreffor
|
|
, cu2qu
|
|
, defcon
|
|
, fonttools
|
|
, skia-pathops
|
|
, ufoLib2
|
|
|
|
# tests
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ufo2ft";
|
|
version = "2.30.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ZpO55rNXkVbqMdGxsZn77gJnGBbM8c8GIAaQnTzVnf8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
cu2qu
|
|
fonttools
|
|
defcon
|
|
compreffor
|
|
booleanoperations
|
|
cffsubr
|
|
ufoLib2
|
|
skia-pathops
|
|
]
|
|
++ fonttools.optional-dependencies.lxml
|
|
++ fonttools.optional-dependencies.ufo;
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pytestFlagsArray = [
|
|
# Do not depend on skia.
|
|
"--deselect=tests/integration_test.py::IntegrationTest::test_removeOverlaps_CFF_pathops"
|
|
"--deselect=tests/integration_test.py::IntegrationTest::test_removeOverlaps_pathops"
|
|
"--deselect=tests/preProcessor_test.py::TTFPreProcessorTest::test_custom_filters_as_argument"
|
|
"--deselect=tests/preProcessor_test.py::TTFInterpolatablePreProcessorTest::test_custom_filters_as_argument"
|
|
];
|
|
|
|
pythonImportsCheck = [ "ufo2ft" ];
|
|
|
|
meta = with lib; {
|
|
description = "Bridge from UFOs to FontTools objects";
|
|
homepage = "https://github.com/googlefonts/ufo2ft";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|