git.iko.soy/typeable/nixpkgs
on master help sign in
python38Packages.nvchecker: 1.6.post1 -> 1.7
commit3bc6f9a413eb08a265b0d4d91647681df27a6c93 authorMario Rodas <marsam@users.noreply.github.com> dateMon 27 Jul 2020, 04:20 (6 years ago) parent32a144c
1 file changed+7−10
pkgs/development/python-modules/nvchecker/default.nix+7−10
pkgs/development/python-modules/nvchecker/default.nix+7−10
@@ -1,24 +1,21 @@
1−{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl, pytest-httpbin }:
1+{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytestCheckHook, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl, aiohttp, pytest-httpbin }:
22
33buildPythonPackage rec {
44 pname = "nvchecker";
5− version = "1.6.post1";
5+ version = "1.7";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "7d2e889a4ba2eeb75dd6649ed5e99f8cbfed45b2194657e8f46c978ec58d4175";
9+ sha256 = "01be0e5587d346ad783b4b2dc45bd8eefe477081b33fff18cc2fdea58c2a38ef";
1010 };
1111
12− propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
13− checkInputs = [ pytest pytest-asyncio flaky pytest-httpbin ];
14−
15− # disable `test_ubuntupkg` because it requires network
16− checkPhase = ''
17− py.test -m "not needs_net" --ignore=tests/test_ubuntupkg.py
18− '';
12+ propagatedBuildInputs = [ setuptools structlog tornado pycurl aiohttp ];
13+ checkInputs = [ pytestCheckHook pytest-asyncio flaky pytest-httpbin ];
1914
2015 disabled = pythonOlder "3.5";
2116
17+ pytestFlagsArray = [ "-m 'not needs_net'" ];
18+
2219 meta = with stdenv.lib; {
2320 homepage = "https://github.com/lilydjwg/nvchecker";
2421 description = "New version checker for software";