python312Packages.otpauth: fix build

This commit is contained in:
Weijia Wang
2025-04-15 23:20:18 +02:00
parent 9d121b178b
commit 19c0d50ec3
@@ -3,7 +3,7 @@
buildPythonPackage,
pythonOlder,
fetchPypi,
setuptools,
hatchling,
pytestCheckHook,
}:
@@ -20,11 +20,11 @@ buildPythonPackage rec {
hash = "sha256-Ev2uZNBmT/v6/a39weyP5XGs0OcaYveSM9072giNOcI=";
};
build-system = [ setuptools ];
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ pname ];
pythonImportsCheck = [ "otpauth" ];
meta = with lib; {
description = "Implements one time password of HOTP/TOTP";