Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / py-nextbusnext / default.nix
blob090883bad3d96e4f6453ceaf5f9338fb5f371657
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "py-nextbusnext";
11   version = "1.0.2";
12   pyproject = true;
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "ViViDboarder";
18     repo = "py_nextbus";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-5zD8AKb4/4x4cVA922OlzSOXlg3F6QCcr16agEQkUWM=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "py_nextbus"
33   ];
35   meta = with lib; {
36     description = "Minimalistic Python client for the NextBus public API";
37     homepage = "https://github.com/ViViDboarder/py_nextbus";
38     license = licenses.mit;
39     maintainers = with maintainers; [ dotlambda ];
40   };