8 poetry-dynamic-versioning,
28 buildPythonPackage rec {
29 pname = "diffenator2";
33 src = fetchFromGitHub {
34 owner = "googlefonts";
36 rev = "refs/tags/v${version}";
37 hash = "sha256-zeNcNR14ieY6Inp4kOwIPXd6S+/wFdMFp6wbiqgB/iA=";
40 nativeBuildInputs = [ pythonRelaxDepsHook ];
42 pythonRelaxDeps = [ "protobuf" ];
46 poetry-dynamic-versioning
69 nativeCheckInputs = [ pytestCheckHook ];
73 "test_download_google_fonts_family_to_file"
74 "test_download_google_fonts_family_to_bytes"
75 "test_download_google_fonts_family_not_existing"
76 "test_download_latest_github_release"
80 # Want the files downloaded by the tests above
81 "tests/test_functional.py"
83 "tests/test_matcher.py"
88 description = "Font comparison tool that will not stop until your fonts are exhaustively compared";
89 homepage = "https://github.com/googlefonts/diffenator2";
90 changelog = "https://github.com/googlefonts/diffenator2/releases/tag/v${version}";
91 license = lib.licenses.asl20;
92 mainProgram = "diffenator2";
93 maintainers = with lib.maintainers; [ jopejoe1 ];