diff --git a/pkgs/development/python-modules/statmake/default.nix b/pkgs/development/python-modules/statmake/default.nix index 2a73d88a0eb1..f3369f12f0c5 100644 --- a/pkgs/development/python-modules/statmake/default.nix +++ b/pkgs/development/python-modules/statmake/default.nix @@ -5,8 +5,6 @@ cattrs, fetchFromGitHub, fonttools, - fs, - poetry-core, pytestCheckHook, ufo2ft, ufolib2, @@ -30,16 +28,12 @@ buildPythonPackage rec { hatchling hatch-vcs ]; - - nativeBuildInputs = [ poetry-core ]; - - propagatedBuildInputs = [ + dependencies = [ attrs cattrs fonttools - # required by fonttools[ufo] - fs - ]; + ] + ++ fonttools.optional-dependencies.ufo; nativeCheckInputs = [ pytestCheckHook