Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,30 @@
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 = [
hatchling
hatch-vcs
];

dependencies = [
cryptography
];
dependencies = [ cryptography ];

nativeCheckInputs = [
pytestCheckHook
Expand All @@ -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 ];
};
}
})
Loading