diff --git a/pkgs/development/python-modules/pilkit/default.nix b/pkgs/development/python-modules/pilkit/default.nix index 2ca211f75c9c..76f6238349a5 100644 --- a/pkgs/development/python-modules/pilkit/default.nix +++ b/pkgs/development/python-modules/pilkit/default.nix @@ -5,12 +5,13 @@ , pillow , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "pilkit"; version = "3.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -21,6 +22,10 @@ buildPythonPackage rec { hash = "sha256-NmD9PFCkz3lz4AnGoQUpkt35q0zvDVm+kx7lVDFBcHk="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ pillow ]; @@ -44,7 +49,7 @@ buildPythonPackage rec { meta = with lib; { description = "A collection of utilities and processors for the Python Imaging Library"; homepage = "https://github.com/matthewwithanm/pilkit/"; - license = licenses.bsd0; + license = licenses.bsd3; maintainers = with maintainers; [ domenkozar ]; }; }