2019-07-07 23:20:00 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl }:
|
2018-10-14 19:47:14 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nvchecker";
|
2019-07-07 23:20:00 +02:00
|
|
|
version = "1.4.4";
|
2018-10-14 19:47:14 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-07 23:20:00 +02:00
|
|
|
sha256 = "6276ed2a897a30ccd71bfd7cf9e6b7842f37f3d5a86d7a70fe46f437c62b1875";
|
2018-10-14 19:47:14 +02:00
|
|
|
};
|
|
|
|
|
2018-11-25 21:44:58 +01:00
|
|
|
propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
|
2019-07-07 23:20:00 +02:00
|
|
|
checkInputs = [ pytest pytest-asyncio flaky ];
|
2018-10-14 19:47:14 +02:00
|
|
|
|
2019-07-07 23:20:00 +02:00
|
|
|
# requires network access
|
2018-10-14 19:47:14 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/lilydjwg/nvchecker;
|
|
|
|
description = "New version checker for software";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ marsam ];
|
|
|
|
};
|
|
|
|
}
|