Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 25 lines 815 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytestCheckHook, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl, aiohttp, pytest-httpbin }: 2 3buildPythonPackage rec { 4 pname = "nvchecker"; 5 version = "1.7"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "01be0e5587d346ad783b4b2dc45bd8eefe477081b33fff18cc2fdea58c2a38ef"; 10 }; 11 12 propagatedBuildInputs = [ setuptools structlog tornado pycurl aiohttp ]; 13 checkInputs = [ pytestCheckHook pytest-asyncio flaky pytest-httpbin ]; 14 15 disabled = pythonOlder "3.5"; 16 17 pytestFlagsArray = [ "-m 'not needs_net'" ]; 18 19 meta = with stdenv.lib; { 20 homepage = "https://github.com/lilydjwg/nvchecker"; 21 description = "New version checker for software"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ marsam ]; 24 }; 25}