1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "py-nextbusnext";
9 version = "0.1.5";
10
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "ViViDboarder";
15 repo = "py_nextbus";
16 rev = "v${version}";
17 hash = "sha256-uUHA8v5iTISmPaTgk0RvcLLRM34f3JXUjZClKGXdMoI=";
18 };
19
20 checkInputs = [
21 pytestCheckHook
22 ];
23
24 pythonImportsCheck = [ "py_nextbus" ];
25
26 meta = {
27 description = "Minimalistic Python client for the NextBus public API";
28 homepage = "https://github.com/ViViDboarder/py_nextbus";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ dotlambda ];
31 };
32}