python3Packages.nvchecker: 1.4.4 -> 1.5
This commit is contained in:
parent
02fb0b9b2a
commit
c855dceacf
@ -1,22 +1,20 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl }:
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl, pytest-httpbin }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nvchecker";
|
pname = "nvchecker";
|
||||||
version = "1.4.4";
|
version = "1.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "6276ed2a897a30ccd71bfd7cf9e6b7842f37f3d5a86d7a70fe46f437c62b1875";
|
sha256 = "0973f7c3ea5ad65fb19837e8915882a9f2c2f21f5c2589005478697391fea2fd";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
|
propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
|
||||||
checkInputs = [ pytest pytest-asyncio flaky ];
|
checkInputs = [ pytest pytest-asyncio flaky pytest-httpbin ];
|
||||||
|
|
||||||
# requires network access
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
|
# disable `test_ubuntupkg` because it requires network
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test -m "not needs_net" --ignore=tests/test_ubuntupkg.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user