python3Packages.pyotp: 2.9.0 -> 2.10.0

Diff: https://github.com/pyauth/pyotp/compare/v2.9.0...v2.10.0

Changelog: https://github.com/pyauth/pyotp/blob/v2.10.0/Changes.rst
This commit is contained in:
Robert Schütz
2026-06-14 09:19:22 -07:00
parent 6f11897ec8
commit 9013a3ba71
@@ -1,21 +1,29 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
hatch-vcs,
hatchling,
unittestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "pyotp";
version = "2.9.0";
version = "2.10.0";
pyproject = true;
format = "setuptools";
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-NGtmQuDb3eO0/1qTC2ZMqCq/oRY1btSMxCx9ZZDTb2M=";
src = fetchFromGitHub {
owner = "pyauth";
repo = "pyotp";
tag = "v${finalAttrs.version}";
hash = "sha256-Ol7I3bj2bffKnO0r4VBOy/NvvK4pKbIul4FFlmF+wQU=";
};
build-system = [
hatch-vcs
hatchling
];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "pyotp" ];