@@ -1,22 +1,20 @@
1−{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl }:
1+{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl, pytest-httpbin }:
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "nvchecker";
4 pname = "nvchecker";
5− version = "1.4.4";
5+ version = "1.5";
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "6276ed2a897a30ccd71bfd7cf9e6b7842f37f3d5a86d7a70fe46f437c62b1875";
9+ sha256 = "0973f7c3ea5ad65fb19837e8915882a9f2c2f21f5c2589005478697391fea2fd";
12 propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
12 propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
13− checkInputs = [ pytest pytest-asyncio flaky ];
13+ checkInputs = [ pytest pytest-asyncio flaky pytest-httpbin ];
15− # requires network access
15+ # disable `test_ubuntupkg` because it requires network
18 checkPhase = ''
16 checkPhase = ''
19− py.test
17+ py.test -m "not needs_net" --ignore=tests/test_ubuntupkg.py
22 disabled = pythonOlder "3.5";
20 disabled = pythonOlder "3.5";