mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 20:19:16 +03:00
Merge pull request #330084 from jopejoe1/fontbakery-fix
python3Packages.fontbakery: fix dependecies
This commit is contained in:
commit
8886be8b26
@ -13,6 +13,7 @@
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
ufolib2,
|
||||
vfblib,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -41,6 +42,7 @@ buildPythonPackage rec {
|
||||
openstep-plist
|
||||
orjson
|
||||
ufolib2
|
||||
vfblib
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@ -48,6 +50,15 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Want non exsiting test data
|
||||
disabledTests = [
|
||||
"test_rename"
|
||||
"test_rename_nested"
|
||||
"test_rename_contextual"
|
||||
];
|
||||
|
||||
disabledTestPaths = [ "tests/test_glyphs3_roundtrip.py" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to load, examine, and save fonts in a variety of formats";
|
||||
mainProgram = "babelfont";
|
||||
|
@ -6,11 +6,12 @@
|
||||
matplotlib,
|
||||
pyclipper,
|
||||
unittestCheckHook,
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "beziers";
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
# PyPI doesn't have a proper source tarball, fetch from Github instead
|
||||
@ -18,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "simoncozens";
|
||||
repo = "beziers.py";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4014u7s47Tfdpa2Q9hKAoHg7Ebcs1/DVW5TpEmoh2bc=";
|
||||
hash = "sha256-NjmWsRz/NPPwXPbiSaOeKJMrYmSyNTt5ikONyAljgvM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyclipper ];
|
||||
@ -35,6 +36,8 @@ buildPythonPackage rec {
|
||||
"-v"
|
||||
];
|
||||
|
||||
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for manipulating Bezier curves and paths in fonts";
|
||||
homepage = "https://github.com/simoncozens/beziers.py";
|
||||
|
49
pkgs/development/python-modules/vfblib/default.nix
Normal file
49
pkgs/development/python-modules/vfblib/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
buildPythonPackage,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
fonttools,
|
||||
typing-extensions,
|
||||
ufonormalizer,
|
||||
ufolib2,
|
||||
defcon,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vfblib";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LucasFonts";
|
||||
repo = "vfbLib";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-1F7Em3qX5QKHaGDYVfEOHwYu3PxZUWboe67Hgitvebc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
fonttools
|
||||
typing-extensions
|
||||
ufonormalizer
|
||||
ufolib2
|
||||
defcon
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "vfbLib" ];
|
||||
|
||||
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Converter and deserializer for FontLab Studio 5 VFB files";
|
||||
homepage = "https://github.com/LucasFonts/vfbLib";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ jopejoe1 ];
|
||||
};
|
||||
}
|
@ -17037,6 +17037,8 @@ self: super: with self; {
|
||||
|
||||
veryprettytable = callPackage ../development/python-modules/veryprettytable { };
|
||||
|
||||
vfblib = callPackage ../development/python-modules/vfblib { };
|
||||
|
||||
vg = callPackage ../development/python-modules/vg { };
|
||||
|
||||
vharfbuzz = callPackage ../development/python-modules/vharfbuzz { };
|
||||
|
Loading…
Reference in New Issue
Block a user