lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.py-nextbusnext: 2.2.0 -> 2.3.0

Diff: https://github.com/ViViDboarder/py_nextbus/compare/refs/tags/v2.2.0...refs/tags/v2.3.0

Changelog: https://github.com/ViViDboarder/py_nextbusnext/releases/tag/v2.3.0

+12 -7
+12 -7
pkgs/development/python-modules/py-nextbusnext/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 - pythonOlder, 5 + pytestCheckHook, 6 6 requests, 7 7 setuptools, 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 11 pname = "py-nextbusnext"; 12 - version = "2.2.0"; 12 + version = "2.3.0"; 13 13 pyproject = true; 14 14 15 - disabled = pythonOlder "3.9"; 16 - 17 15 src = fetchFromGitHub { 18 16 owner = "ViViDboarder"; 19 17 repo = "py_nextbus"; 20 18 tag = "v${version}"; 21 - hash = "sha256-UA5/OjmgWU9vd9NGjH2qUUELsOpFayEVaO7hB91yQ74="; 19 + hash = "sha256-zTOP2wj1ZseXYbWGNgehIkgZQkV4u74yjI0mhn35e4E="; 22 20 }; 23 21 24 22 build-system = [ setuptools ]; ··· 27 25 28 26 pythonImportsCheck = [ "py_nextbus" ]; 29 27 30 - # upstream has no tests 31 - doCheck = false; 28 + nativeCheckInputs = [ 29 + pytestCheckHook 30 + ]; 31 + 32 + disabledTestPaths = [ 33 + # tests access the internet 34 + "acceptance/client_test.py" 35 + ]; 32 36 33 37 meta = with lib; { 38 + changelog = "https://github.com/ViViDboarder/py_nextbusnext/releases/tag/${src.tag}"; 34 39 description = "Minimalistic Python client for the NextBus public API"; 35 40 homepage = "https://github.com/ViViDboarder/py_nextbus"; 36 41 license = licenses.mit;