blob: 2ef7b55d0d39f5af307cb8efc030cb5084168b04 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "py-nextbusnext";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ViViDboarder";
repo = "py_nextbus";
rev = "refs/tags/v${version}";
hash = "sha256-iJPbRhXgA1AIkyf3zGZ9tuFAw8h6oyBbh7Ln/y72fyQ=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"py_nextbus"
];
meta = with lib; {
description = "Minimalistic Python client for the NextBus public API";
homepage = "https://github.com/ViViDboarder/py_nextbus";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}
|