Unverified Commit 393a9385 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #257992 from fabaff/py-nextbusnext-bump

python311Packages.py-nextbusnext: 0.1.5 -> 1.0.0
parents 4a359e21 cc1bc258
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
@@ -2,31 +2,35 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "py-nextbusnext";
  version = "0.1.5";

  version = "1.0.0";
  format = "setuptools";

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "ViViDboarder";
    repo = "py_nextbus";
    rev = "v${version}";
    hash = "sha256-uUHA8v5iTISmPaTgk0RvcLLRM34f3JXUjZClKGXdMoI=";
    rev = "refs/tags/v${version}";
    hash = "sha256-044VDg7bQNNnRGiPZW9gwo3Bzq0LPYKTrd3EgmBOcGA=";
  };

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "py_nextbus" ];
  pythonImportsCheck = [
    "py_nextbus"
  ];

  meta = {
  meta = with lib; {
    description = "Minimalistic Python client for the NextBus public API";
    homepage = "https://github.com/ViViDboarder/py_nextbus";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
    license = licenses.mit;
    maintainers = with maintainers; [ dotlambda ];
  };
}