diff --git a/pkgs/development/python-modules/opentype-feature-freezer/default.nix b/pkgs/development/python-modules/opentype-feature-freezer/default.nix index 4b5a23a0052b..57b0e34a41bd 100644 --- a/pkgs/development/python-modules/opentype-feature-freezer/default.nix +++ b/pkgs/development/python-modules/opentype-feature-freezer/default.nix @@ -5,26 +5,30 @@ gitUpdater, pytestCheckHook, fonttools, + hatch-vcs, hatchling, biplist, }: buildPythonPackage rec { pname = "opentype-feature-freezer"; - version = "1.0.1"; + version = "1.32.3"; pyproject = true; src = fetchFromGitHub { owner = "twardoch"; repo = "fonttools-opentype-feature-freezer"; tag = "v${version}"; - hash = "sha256-8aJYQyUpcEOyzVHZ0LXfGJ1Tsxe5HICcfkFUdsI+/GI="; + hash = "sha256-uwU9lsTK6XlKwar46DLTzjwtD/zQDJnC+Kq/sVNCNE0="; }; build-system = [ + hatch-vcs hatchling ]; + env.SETUPTOOLS_SCM_PRETEND_VERSION = version; + dependencies = [ fonttools ]; nativeCheckInputs = [ @@ -41,15 +45,6 @@ buildPythonPackage rec { "app/OTFeatureFreezer.py" ]; - disabledTests = [ - # File not found - "test_freeze" - # AssertionError: assert '' == '# Scripts an...m,pnum,tnum\n' - "test_report" - # assert False - "test_warn_substituting_glyphs_without_unicode" - ]; - passthru.updateScript = gitUpdater { rev-prefix = "v"; }; meta = {