python.pkgs.pylibgen: no tests in tarball

This commit is contained in:
Robert Schütz 2019-02-14 23:19:44 +01:00 committed by Frederik Rietdijk
parent 4256099a33
commit e2b68922f3

@ -1,6 +1,7 @@
{ buildPythonPackage, python, lib, fetchPypi { buildPythonPackage, lib, fetchPypi
, isPy3k , isPy3k
, requests , requests
, pytest
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -16,8 +17,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ requests ]; propagatedBuildInputs = [ requests ];
# It's not using unittest checkInputs = [ pytest ];
checkPhase = "${python.interpreter} tests/test_pylibgen.py -c 'test_api_endpoints()'";
# no tests in PyPI tarball
doCheck = false;
meta = { meta = {
description = "Python interface to Library Genesis"; description = "Python interface to Library Genesis";