Merge pull request #117068 from marsam/update-nvchecker

nvchecker: 2.2 -> 2.3

authored by

Sandro and committed by
GitHub
59fb047a 80d06a8e

+13 -3
+13 -3
pkgs/development/python-modules/nvchecker/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , pythonOlder 5 6 , pytestCheckHook 6 7 , setuptools 8 + , packaging 7 9 , toml 8 10 , structlog 9 11 , appdirs ··· 19 21 20 22 buildPythonPackage rec { 21 23 pname = "nvchecker"; 22 - version = "2.2"; 24 + version = "2.3"; 23 25 24 26 # Tests not included in PyPI tarball 25 27 src = fetchFromGitHub { 26 28 owner = "lilydjwg"; 27 29 repo = pname; 28 30 rev = "v${version}"; 29 - sha256 = "0b17pikqyxcsid69lwnjl44n8z46ydjmxxdnbzasfdl7r83l7ijr"; 31 + sha256 = "0ikqjlw6v7va69i8qskj1lf07ik84q4n3qgsb7khk520gv2ks3sx"; 30 32 }; 31 33 34 + patches = [ 35 + # Fix test that fail in sandbox build. See https://github.com/lilydjwg/nvchecker/pull/179 36 + (fetchpatch { 37 + url = "https://github.com/lilydjwg/nvchecker/commit/7366d82bfc3dcf231f7908e259bf2437cf7dafd5.patch"; 38 + sha256 = "0pwrwa2wyy4i668lk2mqzzy6y3xi08mq3w520b4954kfm07g75a9"; 39 + }) 40 + ]; 41 + 32 42 nativeBuildInputs = [ installShellFiles docutils ]; 33 - propagatedBuildInputs = [ setuptools toml structlog appdirs tornado pycurl aiohttp ]; 43 + propagatedBuildInputs = [ setuptools packaging toml structlog appdirs tornado pycurl aiohttp ]; 34 44 checkInputs = [ pytestCheckHook pytest-asyncio flaky pytest-httpbin ]; 35 45 36 46 disabled = pythonOlder "3.7";