diff --git a/pkgs/development/python-modules/http-message-signatures/default.nix b/pkgs/development/python-modules/http-message-signatures/default.nix index 71f7ba88ef6c3..13b18a5a0e25c 100644 --- a/pkgs/development/python-modules/http-message-signatures/default.nix +++ b/pkgs/development/python-modules/http-message-signatures/default.nix @@ -3,22 +3,22 @@ buildPythonPackage, cryptography, fetchFromGitHub, - pytestCheckHook, - hatchling, hatch-vcs, + hatchling, + pytestCheckHook, requests, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "http-message-signatures"; - version = "1.0.1"; + version = "2.0.0"; pyproject = true; src = fetchFromGitHub { owner = "pyauth"; repo = "http-message-signatures"; - tag = "v${version}"; - hash = "sha256-c5zwH28FFbEmLfL4nBBE2S1YEbwicoJo3UAYn/0zXEM="; + tag = "v${finalAttrs.version}"; + hash = "sha256-uHsH/kYph50cpLcy4lnu466odexUVvQAYk0ydgtcsM8="; }; build-system = [ @@ -26,9 +26,7 @@ buildPythonPackage rec { hatch-vcs ]; - dependencies = [ - cryptography - ]; + dependencies = [ cryptography ]; nativeCheckInputs = [ pytestCheckHook @@ -42,7 +40,8 @@ buildPythonPackage rec { meta = { description = "Requests authentication module for HTTP Signature"; homepage = "https://github.com/pyauth/http-message-signatures"; + changelog = "https://github.com/pyauth/http-message-signatures/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})