git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #94107 from marsam/update-nvchecker

python3Packages.nvchecker: 1.6.post1 -> 1.7

commit56c86e7ce74c3413b98580ef5350d99e21dc265f authorMario Rodas <marsam@users.noreply.github.com> dateTue 28 Jul 2020, 19:41 (6 years ago) parent246abbae435ebe
2 files changed+9−10
pkgs/development/python-modules/nvchecker/default.nix+7−10 pkgs/top-level/all-packages.nix+2
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";
pkgs/top-level/all-packages.nix+2
@@ -5551,6 +5551,8 @@ in
55515551
55525552 notable = callPackage ../applications/misc/notable { };
55535553
5554+ nvchecker = with python3Packages; toPythonApplication nvchecker;
5555+
55545556 miller = callPackage ../tools/text/miller { };
55555557
55565558 milu = callPackage ../applications/misc/milu { };