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