python3Packages.pyotp: 2.9.0 -> 2.10.0 (#531718)
This commit is contained in:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user