Loading pkgs/development/python-modules/opentype-feature-freezer/default.nix 0 → 100644 +63 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, unstableGitUpdater, pytestCheckHook, fonttools, poetry-core, configparser, biplist, }: buildPythonPackage { pname = "opentype-feature-freezer"; version = "0-unstable-2022-07-09"; pyproject = true; src = fetchFromGitHub { owner = "twardoch"; repo = "fonttools-opentype-feature-freezer"; rev = "2ae16853bc724c3e377726f81d9fc661d3445827"; hash = "sha256-mIWQF9LTVKxIkwHLCTVK1cOuiaduJyX8pyBZ/0RKIVE="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail poetry.masonry.api poetry.core.masonry.api \ --replace-fail "poetry>=" "poetry-core>=" ''; build-system = [ poetry-core configparser ]; dependencies = [ fonttools ]; nativeCheckInputs = [ pytestCheckHook biplist ]; disabledTestPaths = [ # Wants to check path outside of nix store "src/opentype_feature_freezer/cli.py" # NameError: name 'defines' is not defined "app/dmgbuild_settings.py" # Missing module "app/OTFeatureFreezer.py" # AttributeError: 'types.SimpleNamespace' object has no attribute 'suffix' "tests/test_rename.py" ]; passthru.updateScript = unstableGitUpdater { }; meta = { description = "Permanently \"apply\" OpenType features to fonts, by remapping their Unicode assignments"; homepage = "https://github.com/twardoch/fonttools-opentype-feature-freezer"; license = lib.licenses.asl20; mainProgram = "pyftfeatfreeze"; maintainers = with lib.maintainers; [ jopejoe1 ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10137,6 +10137,8 @@ self: super: with self; { openapi-core = callPackage ../development/python-modules/openapi-core { }; opentype-feature-freezer = callPackage ../development/python-modules/opentype-feature-freezer { }; openusd = callPackage ../development/python-modules/openusd { alembic = pkgs.alembic; }; Loading Loading
pkgs/development/python-modules/opentype-feature-freezer/default.nix 0 → 100644 +63 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, unstableGitUpdater, pytestCheckHook, fonttools, poetry-core, configparser, biplist, }: buildPythonPackage { pname = "opentype-feature-freezer"; version = "0-unstable-2022-07-09"; pyproject = true; src = fetchFromGitHub { owner = "twardoch"; repo = "fonttools-opentype-feature-freezer"; rev = "2ae16853bc724c3e377726f81d9fc661d3445827"; hash = "sha256-mIWQF9LTVKxIkwHLCTVK1cOuiaduJyX8pyBZ/0RKIVE="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail poetry.masonry.api poetry.core.masonry.api \ --replace-fail "poetry>=" "poetry-core>=" ''; build-system = [ poetry-core configparser ]; dependencies = [ fonttools ]; nativeCheckInputs = [ pytestCheckHook biplist ]; disabledTestPaths = [ # Wants to check path outside of nix store "src/opentype_feature_freezer/cli.py" # NameError: name 'defines' is not defined "app/dmgbuild_settings.py" # Missing module "app/OTFeatureFreezer.py" # AttributeError: 'types.SimpleNamespace' object has no attribute 'suffix' "tests/test_rename.py" ]; passthru.updateScript = unstableGitUpdater { }; meta = { description = "Permanently \"apply\" OpenType features to fonts, by remapping their Unicode assignments"; homepage = "https://github.com/twardoch/fonttools-opentype-feature-freezer"; license = lib.licenses.asl20; mainProgram = "pyftfeatfreeze"; maintainers = with lib.maintainers; [ jopejoe1 ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10137,6 +10137,8 @@ self: super: with self; { openapi-core = callPackage ../development/python-modules/openapi-core { }; opentype-feature-freezer = callPackage ../development/python-modules/opentype-feature-freezer { }; openusd = callPackage ../development/python-modules/openusd { alembic = pkgs.alembic; }; Loading