1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

python3Packages.oath: switch to pytestCheckHook

This commit is contained in:
Fabian Affolter 2021-11-21 17:30:50 +01:00
parent 849e45fe7a
commit cde18dcb92

View file

@ -1,16 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "oath";
version = "1.4.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-vWsg0g8sTj9TUj7pACEdynWu7KcvT1qf2NyswXX+HAs=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"oath"
];
meta = with lib; {
description = "Python implementation of the three main OATH specifications: HOTP, TOTP and OCRA";