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:
parent
849e45fe7a
commit
cde18dcb92
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue