python.pkgs.pylibgen: no tests in tarball
This commit is contained in:
parent
4256099a33
commit
e2b68922f3
1 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
{ buildPythonPackage, python, lib, fetchPypi
|
||||
{ buildPythonPackage, lib, fetchPypi
|
||||
, isPy3k
|
||||
, requests
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -16,8 +17,10 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# It's not using unittest
|
||||
checkPhase = "${python.interpreter} tests/test_pylibgen.py -c 'test_api_endpoints()'";
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
# no tests in PyPI tarball
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python interface to Library Genesis";
|
||||
|
|
Loading…
Reference in a new issue