python.pkgs.pylibgen: no tests in tarball
This commit is contained in:
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";
|
||||||
|
Loading…
Reference in New Issue
Block a user