uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
62
pkgs/development/python-modules/ufo2ft/default.nix
Normal file
62
pkgs/development/python-modules/ufo2ft/default.nix
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, fonttools
|
||||
, defcon
|
||||
, compreffor
|
||||
, booleanoperations
|
||||
, cffsubr
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ufo2ft";
|
||||
version = "2.27.0";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "r5bE4M/blt5TKzP43MpijwYY6ll3aasszmGksY5WTTE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Use cu2qu from fonttools.
|
||||
# https://github.com/googlefonts/ufo2ft/pull/461
|
||||
./fonttools-cu2qu.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
fonttools
|
||||
defcon
|
||||
compreffor
|
||||
booleanoperations
|
||||
cffsubr
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
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; [ jtojnar ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue