diff --git a/pkgs/development/python-modules/whatthepatch/default.nix b/pkgs/development/python-modules/whatthepatch/default.nix index 8ae261d1dbae..b836811f2d70 100644 --- a/pkgs/development/python-modules/whatthepatch/default.nix +++ b/pkgs/development/python-modules/whatthepatch/default.nix @@ -9,29 +9,29 @@ buildPythonPackage rec { pname = "whatthepatch"; - version = "1.0.6"; - format = "pyproject"; + version = "1.0.7"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "cscorley"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-NjlQL+zgN9WKUMxMCl97eXTdM8Prrg3iiY8/zwQ8jyY="; + hash = "sha256-0pkkwVo9yaFEZyitfpKMC8EVr8HgPLUkrGWmyYOdZNE="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "whatthepatch" ]; - meta = with lib; { + meta = { description = "Python library for both parsing and applying patch files"; homepage = "https://github.com/cscorley/whatthepatch"; changelog = "https://github.com/cscorley/whatthepatch/blob/${version}/HISTORY.md"; - license = licenses.mit; - maintainers = [ ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ nickcao ]; }; }