Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
745 B · 36 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, pythonOlder, fetchPypi, hatchling, pytestCheckHook,}:
buildPythonPackage rec { pname = "otpauth"; version = "2.2.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-Fpp629cV/KaH9qZtAszb78Ip+0n4pjS5WNKG+QgTTVk="; };
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "otpauth" ];
meta = with lib; { description = "Implements one time password of HOTP/TOTP"; homepage = "https://otp.authlib.org/"; changelog = "https://github.com/authlib/otpauth/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ erictapen ]; };}