mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
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 {
|
||||
pname = "nvchecker";
|
||||
version = "1.4.4";
|
||||
version = "1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6276ed2a897a30ccd71bfd7cf9e6b7842f37f3d5a86d7a70fe46f437c62b1875";
|
||||
sha256 = "0973f7c3ea5ad65fb19837e8915882a9f2c2f21f5c2589005478697391fea2fd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
|
||||
checkInputs = [ pytest pytest-asyncio flaky ];
|
||||
|
||||
# requires network access
|
||||
doCheck = false;
|
||||
checkInputs = [ pytest pytest-asyncio flaky pytest-httpbin ];
|
||||
|
||||
# disable `test_ubuntupkg` because it requires network
|
||||
checkPhase = ''
|
||||
py.test
|
||||
py.test -m "not needs_net" --ignore=tests/test_ubuntupkg.py
|
||||
'';
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
Loading…
Reference in New Issue
Block a user