python312Packages.otpauth: fix build (#398992)

authored by Aleksana and committed by GitHub 9ff560f2 ace384ea

+3 -3
+3 -3
pkgs/development/python-modules/otpauth/default.nix
··· 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 - setuptools, 7 pytestCheckHook, 8 }: 9 ··· 20 hash = "sha256-Ev2uZNBmT/v6/a39weyP5XGs0OcaYveSM9072giNOcI="; 21 }; 22 23 - build-system = [ setuptools ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 - pythonImportsCheck = [ pname ]; 28 29 meta = with lib; { 30 description = "Implements one time password of HOTP/TOTP";
··· 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 + hatchling, 7 pytestCheckHook, 8 }: 9 ··· 20 hash = "sha256-Ev2uZNBmT/v6/a39weyP5XGs0OcaYveSM9072giNOcI="; 21 }; 22 23 + build-system = [ hatchling ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 + pythonImportsCheck = [ "otpauth" ]; 28 29 meta = with lib; { 30 description = "Implements one time password of HOTP/TOTP";