22 buildPythonPackage rec {
26 # Tests not included in PyPI tarball
27 src = fetchFromGitHub {
31 sha256 = "0ikqjlw6v7va69i8qskj1lf07ik84q4n3qgsb7khk520gv2ks3sx";
35 # Fix test that fail in sandbox build. See https://github.com/lilydjwg/nvchecker/pull/179
37 url = "https://github.com/lilydjwg/nvchecker/commit/7366d82bfc3dcf231f7908e259bf2437cf7dafd5.patch";
38 sha256 = "0pwrwa2wyy4i668lk2mqzzy6y3xi08mq3w520b4954kfm07g75a9";
42 nativeBuildInputs = [ installShellFiles docutils ];
43 propagatedBuildInputs = [ setuptools packaging toml structlog appdirs tornado pycurl aiohttp ];
44 checkInputs = [ pytestCheckHook pytest-asyncio flaky pytest-httpbin ];
46 disabled = pythonOlder "3.7";
49 patchShebangs docs/myrst2man.py
54 installManPage docs/_build/man/nvchecker.1
57 pytestFlagsArray = [ "-m 'not needs_net'" ];
60 homepage = "https://github.com/lilydjwg/nvchecker";
61 description = "New version checker for software";
62 license = licenses.mit;
63 maintainers = with maintainers; [ marsam ];