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 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , pythonOlder 5 , pytestCheckHook 6 , setuptools 7 , toml 8 , structlog 9 , appdirs ··· 19 20 buildPythonPackage rec { 21 pname = "nvchecker"; 22 - version = "2.2"; 23 24 # Tests not included in PyPI tarball 25 src = fetchFromGitHub { 26 owner = "lilydjwg"; 27 repo = pname; 28 rev = "v${version}"; 29 - sha256 = "0b17pikqyxcsid69lwnjl44n8z46ydjmxxdnbzasfdl7r83l7ijr"; 30 }; 31 32 nativeBuildInputs = [ installShellFiles docutils ]; 33 - propagatedBuildInputs = [ setuptools toml structlog appdirs tornado pycurl aiohttp ]; 34 checkInputs = [ pytestCheckHook pytest-asyncio flaky pytest-httpbin ]; 35 36 disabled = pythonOlder "3.7";
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , fetchpatch 5 , pythonOlder 6 , pytestCheckHook 7 , setuptools 8 + , packaging 9 , toml 10 , structlog 11 , appdirs ··· 21 22 buildPythonPackage rec { 23 pname = "nvchecker"; 24 + version = "2.3"; 25 26 # Tests not included in PyPI tarball 27 src = fetchFromGitHub { 28 owner = "lilydjwg"; 29 repo = pname; 30 rev = "v${version}"; 31 + sha256 = "0ikqjlw6v7va69i8qskj1lf07ik84q4n3qgsb7khk520gv2ks3sx"; 32 }; 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 + 42 nativeBuildInputs = [ installShellFiles docutils ]; 43 + propagatedBuildInputs = [ setuptools packaging toml structlog appdirs tornado pycurl aiohttp ]; 44 checkInputs = [ pytestCheckHook pytest-asyncio flaky pytest-httpbin ]; 45 46 disabled = pythonOlder "3.7";