17 buildPythonPackage rec {
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-3BZ71JVvj7GCojM8ycu160viPj8BLJ1SiW86Df2fzsw=";
35 propagatedBuildInputs = [
39 # required by fonttools[ufo]
41 ] ++ lib.optionals (pythonOlder "3.11") [
43 ] ++ lib.optionals (pythonOlder "3.8") [
53 pythonImportsCheck = [
58 # Test requires an update as later cattrs is present in Nixpkgs
59 # https://github.com/daltonmaag/statmake/issues/42
60 "test_load_stylespace_broken_range"
64 description = "Applies STAT information from a Stylespace to a variable font";
65 mainProgram = "statmake";
66 homepage = "https://github.com/daltonmaag/statmake";
67 changelog = "https://github.com/daltonmaag/statmake/releases/tag/v${version}";
68 license = licenses.mit;
69 maintainers = with maintainers; [ ];