From 8bae07b73adce7675b1e09d51ca56d0b82e7e8f1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 12 Aug 2024 22:16:17 +0200 Subject: [PATCH] python312Packages.notifications-python-client: 9.1.0 -> 10.0.0 Diff: https://github.com/alphagov/notifications-python-client/compare/refs/tags/9.1.0...10.0.0 Changelog: https://github.com/alphagov/notifications-python-client/blob/10.0.0/CHANGELOG.md --- .../notifications-python-client/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/notifications-python-client/default.nix b/pkgs/development/python-modules/notifications-python-client/default.nix index 1915ccd3fee9..bbb5386fa105 100644 --- a/pkgs/development/python-modules/notifications-python-client/default.nix +++ b/pkgs/development/python-modules/notifications-python-client/default.nix @@ -16,8 +16,8 @@ buildPythonPackage rec { pname = "notifications-python-client"; - version = "9.1.0"; - format = "setuptools"; + version = "10.0.0"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -30,12 +30,12 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.py \ - --replace "pytest-runner" "" + --replace-fail "pytest-runner" "" ''; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ docopt pyjwt requests @@ -55,7 +55,7 @@ buildPythonPackage rec { description = "Python client for the GOV.UK Notify API"; homepage = "https://github.com/alphagov/notifications-python-client"; changelog = "https://github.com/alphagov/notifications-python-client/blob/${version}/CHANGELOG.md"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }