diff --git a/pkgs/development/python-modules/parts/default.nix b/pkgs/development/python-modules/parts/default.nix index 704dc375c129..d7cfcc952eb4 100644 --- a/pkgs/development/python-modules/parts/default.nix +++ b/pkgs/development/python-modules/parts/default.nix @@ -2,27 +2,20 @@ lib, buildPythonPackage, fetchPypi, - pythonOlder, setuptools, - wheel, }: buildPythonPackage rec { pname = "parts"; version = "3.0.0"; - format = "pyproject"; - - disabled = pythonOlder "3.7"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-MuZDe/j04sE8tX6658zYwbebwGYp7r3wVBbumoBJ2WQ="; }; - nativeBuildInputs = [ - setuptools - wheel - ]; + build-system = [ setuptools ]; # Project has no tests doCheck = false; @@ -32,7 +25,8 @@ buildPythonPackage rec { meta = with lib; { description = "Library for common list functions related to partitioning lists"; homepage = "https://github.com/lapets/parts"; - license = with licenses; [ mit ]; + changelog = "https://github.com/lapets/parts/releases/tag/${version}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }