git.iko.soy/typeable/nixpkgs
on master help sign in
nvchecker: 1.7 -> 2.0
commit5ef24845d861b67812de81688783b6cf13112158 authorMario Rodas <marsam@users.noreply.github.com> dateThu 1 Oct 2020, 04:20 (6 years ago) parentfb13347
1 file changed+10−7
pkgs/development/python-modules/nvchecker/default.nix+10−7
pkgs/development/python-modules/nvchecker/default.nix+10−7
@@ -1,18 +1,21 @@
1−{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytestCheckHook, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl, aiohttp, pytest-httpbin }:
1+{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, setuptools, toml, structlog, appdirs, pytest-asyncio, flaky, tornado, pycurl, aiohttp, pytest-httpbin }:
22
33buildPythonPackage rec {
44 pname = "nvchecker";
5− version = "1.7";
5+ version = "2.0";
66
7− src = fetchPypi {
8− inherit pname version;
9− sha256 = "01be0e5587d346ad783b4b2dc45bd8eefe477081b33fff18cc2fdea58c2a38ef";
7+ # Tests not included in PyPI tarball
8+ src = fetchFromGitHub {
9+ owner = "lilydjwg";
10+ repo = pname;
11+ rev = "v${version}";
12+ sha256 = "13wa95pvivbyshq3ys12iyvn8wlyzxfia8l6xh3fd46a2cs9x9g7";
1013 };
1114
12− propagatedBuildInputs = [ setuptools structlog tornado pycurl aiohttp ];
15+ propagatedBuildInputs = [ setuptools toml structlog appdirs tornado pycurl aiohttp ];
1316 checkInputs = [ pytestCheckHook pytest-asyncio flaky pytest-httpbin ];
1417
15− disabled = pythonOlder "3.5";
18+ disabled = pythonOlder "3.7";
1619
1720 pytestFlagsArray = [ "-m 'not needs_net'" ];
1821