1{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl }:
2
3buildPythonPackage rec {
4 pname = "nvchecker";
5 version = "1.4.4";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "6276ed2a897a30ccd71bfd7cf9e6b7842f37f3d5a86d7a70fe46f437c62b1875";
10 };
11
12 propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
13 checkInputs = [ pytest pytest-asyncio flaky ];
14
15 # requires network access
16 doCheck = false;
17
18 checkPhase = ''
19 py.test
20 '';
21
22 disabled = pythonOlder "3.5";
23
24 meta = with stdenv.lib; {
25 homepage = https://github.com/lilydjwg/nvchecker;
26 description = "New version checker for software";
27 license = licenses.mit;
28 maintainers = with maintainers; [ marsam ];
29 };
30}