python3Packages.pycognito: use pytestCheckHook
This commit is contained in:
parent
6759a781c7
commit
32b2eb6730
@ -6,6 +6,7 @@
|
|||||||
, envs
|
, envs
|
||||||
, python-jose
|
, python-jose
|
||||||
, requests
|
, requests
|
||||||
|
, pytestCheckHook
|
||||||
, mock
|
, mock
|
||||||
, isPy27
|
, isPy27
|
||||||
}:
|
}:
|
||||||
@ -16,7 +17,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pvizeli";
|
owner = "pvizeli";
|
||||||
repo = "pycognito";
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-RJeHPCTuaLN+zB0N0FGt4qrTI6++1ks5iBn64Cx0Psc=";
|
sha256 = "sha256-RJeHPCTuaLN+zB0N0FGt4qrTI6++1ks5iBn64Cx0Psc=";
|
||||||
};
|
};
|
||||||
@ -35,7 +36,13 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
checkInputs = [ mock ];
|
checkInputs = [
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [ "tests.py" ];
|
||||||
|
pythonImportsCheck = [ "pycognito" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python class to integrate Boto3's Cognito client so it is easy to login users. With SRP support";
|
description = "Python class to integrate Boto3's Cognito client so it is easy to login users. With SRP support";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user