pythonPackages.pgpy: Fix test execution

This commit is contained in:
Sandro Jäckel 2021-01-03 06:38:31 +01:00
parent 4104f3ae3c
commit 6dab1ba66d
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,7 +1,6 @@
{ lib, isPy3k, fetchFromGitHub, buildPythonPackage
, six, enum34, pyasn1, cryptography, singledispatch
, fetchPypi
, gpgme, flake8, pytest, pytestcov, pep8-naming, pytest-ordering }:
, fetchPypi, pytestCheckHook }:
buildPythonPackage rec {
pname = "pgpy";
@ -22,17 +21,10 @@ buildPythonPackage rec {
] ++ lib.optional (!isPy3k) enum34;
checkInputs = [
gpgme
flake8
pytest
pytestcov
pep8-naming
pytest-ordering
pytestCheckHook
];
checkPhase = ''
pytest
'';
disabledTests = [ "test_sign_string" "test_verify_string" ];
meta = with lib; {
homepage = "https://github.com/SecurityInnovation/PGPy";