From 7e1e53a1db379dee05b904eb4a49b314b85a98ce Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Feb 2023 17:54:01 +0100 Subject: [PATCH 1/2] python310Packages.notifications-python-client: add changelog to meta --- .../python-modules/notifications-python-client/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/notifications-python-client/default.nix b/pkgs/development/python-modules/notifications-python-client/default.nix index e98620dd9187..2c10aad55d2f 100644 --- a/pkgs/development/python-modules/notifications-python-client/default.nix +++ b/pkgs/development/python-modules/notifications-python-client/default.nix @@ -52,6 +52,7 @@ buildPythonPackage rec { meta = with lib; { 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 ]; maintainers = with maintainers; [ fab ]; }; From becda3bdf267abe45f730f404aa125f29054e125 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Feb 2023 17:55:33 +0100 Subject: [PATCH 2/2] python310Packages.notifications-python-client: 6.4.1 -> 7.0.0 Changelog: https://github.com/alphagov/notifications-python-client/blob/7.0.0/CHANGELOG.md --- .../python-modules/notifications-python-client/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/notifications-python-client/default.nix b/pkgs/development/python-modules/notifications-python-client/default.nix index 2c10aad55d2f..3b7ce45925a1 100644 --- a/pkgs/development/python-modules/notifications-python-client/default.nix +++ b/pkgs/development/python-modules/notifications-python-client/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "notifications-python-client"; - version = "6.4.1"; + version = "7.0.0"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -22,8 +22,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "alphagov"; repo = pname; - rev = version; - sha256 = "sha256-HEHerdwplsPAld23Al8sUARu4T5IJLmY5kucAz2791c="; + rev = "refs/tags/${version}"; + hash = "sha256-eJruM9hjyxz+DOkwB6ARkSHBELcXjtFOop/UCwd+vdE="; }; propagatedBuildInputs = [