lol

python3Packages.opentype-feature-freezer: init at 0-unstable-2022-07-09

jopejoe1 4bd73755 bcd82a2c

+65
+63
pkgs/development/python-modules/opentype-feature-freezer/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + unstableGitUpdater, 6 + pytestCheckHook, 7 + fonttools, 8 + poetry-core, 9 + configparser, 10 + biplist, 11 + }: 12 + 13 + buildPythonPackage { 14 + pname = "opentype-feature-freezer"; 15 + version = "0-unstable-2022-07-09"; 16 + pyproject = true; 17 + 18 + src = fetchFromGitHub { 19 + owner = "twardoch"; 20 + repo = "fonttools-opentype-feature-freezer"; 21 + rev = "2ae16853bc724c3e377726f81d9fc661d3445827"; 22 + hash = "sha256-mIWQF9LTVKxIkwHLCTVK1cOuiaduJyX8pyBZ/0RKIVE="; 23 + }; 24 + 25 + postPatch = '' 26 + substituteInPlace pyproject.toml \ 27 + --replace-fail poetry.masonry.api poetry.core.masonry.api \ 28 + --replace-fail "poetry>=" "poetry-core>=" 29 + ''; 30 + 31 + build-system = [ 32 + poetry-core 33 + configparser 34 + ]; 35 + 36 + dependencies = [ fonttools ]; 37 + 38 + nativeCheckInputs = [ 39 + pytestCheckHook 40 + biplist 41 + ]; 42 + 43 + disabledTestPaths = [ 44 + # Wants to check path outside of nix store 45 + "src/opentype_feature_freezer/cli.py" 46 + # NameError: name 'defines' is not defined 47 + "app/dmgbuild_settings.py" 48 + # Missing module 49 + "app/OTFeatureFreezer.py" 50 + # AttributeError: 'types.SimpleNamespace' object has no attribute 'suffix' 51 + "tests/test_rename.py" 52 + ]; 53 + 54 + passthru.updateScript = unstableGitUpdater { }; 55 + 56 + meta = { 57 + description = "Permanently \"apply\" OpenType features to fonts, by remapping their Unicode assignments"; 58 + homepage = "https://github.com/twardoch/fonttools-opentype-feature-freezer"; 59 + license = lib.licenses.asl20; 60 + mainProgram = "pyftfeatfreeze"; 61 + maintainers = with lib.maintainers; [ jopejoe1 ]; 62 + }; 63 + }
+2
pkgs/top-level/python-packages.nix
··· 10137 10137 10138 10138 openapi-core = callPackage ../development/python-modules/openapi-core { }; 10139 10139 10140 + opentype-feature-freezer = callPackage ../development/python-modules/opentype-feature-freezer { }; 10141 + 10140 10142 openusd = callPackage ../development/python-modules/openusd { 10141 10143 alembic = pkgs.alembic; 10142 10144 };