python3packages.notifications-python-client: migrate to finalAttrs
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "notifications-python-client";
|
||||
version = "12.1.0";
|
||||
pyproject = true;
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "alphagov";
|
||||
repo = "notifications-python-client";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-jaNALtQQBxBE2ofBw9ZXC4z5VCnclAAHYvPMTBK74tY=";
|
||||
};
|
||||
|
||||
@@ -51,8 +51,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
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";
|
||||
changelog = "https://github.com/alphagov/notifications-python-client/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user