File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
pkgs/development/python-modules/py-nextbusnext Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 buildPythonPackage ,
44 fetchFromGitHub ,
5- pythonOlder ,
5+ pytestCheckHook ,
66 requests ,
77 setuptools ,
88} :
99
1010buildPythonPackage rec {
1111 pname = "py-nextbusnext" ;
12- version = "2.2 .0" ;
12+ version = "2.3 .0" ;
1313 pyproject = true ;
1414
15- disabled = pythonOlder "3.9" ;
16-
1715 src = fetchFromGitHub {
1816 owner = "ViViDboarder" ;
1917 repo = "py_nextbus" ;
2018 tag = "v${ version } " ;
21- hash = "sha256-UA5/OjmgWU9vd9NGjH2qUUELsOpFayEVaO7hB91yQ74 =" ;
19+ hash = "sha256-zTOP2wj1ZseXYbWGNgehIkgZQkV4u74yjI0mhn35e4E =" ;
2220 } ;
2321
2422 build-system = [ setuptools ] ;
@@ -27,10 +25,17 @@ buildPythonPackage rec {
2725
2826 pythonImportsCheck = [ "py_nextbus" ] ;
2927
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+ ] ;
3236
3337 meta = with lib ; {
38+ changelog = "https://github.com/ViViDboarder/py_nextbusnext/releases/tag/${ src . tag } " ;
3439 description = "Minimalistic Python client for the NextBus public API" ;
3540 homepage = "https://github.com/ViViDboarder/py_nextbus" ;
3641 license = licenses . mit ;
You can’t perform that action at this time.
0 commit comments