Unverified Commit 9934c108 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.pyirishrail: init at 0.0.2 (#435171)

parents c85b469f ae2e210f
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  requests,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pyirishrail";
  version = "0.0.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ttroy50";
    repo = "pyirishrail";
    tag = version;
    hash = "sha256-NgARqhcXP0lgGpgBRiNtQaSn9JcRNtCcZPljcL7t3Xc=";
  };

  build-system = [ setuptools ];

  dependencies = [ requests ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "pyirishrail" ];

  meta = {
    description = "Python library to get the real-time transport information (RTPI) from Irish Rail";
    homepage = "https://github.com/ttroy50/pyirishrail";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}
+2 −1
Original line number Diff line number Diff line
@@ -2789,7 +2789,8 @@
      ];
    "irish_rail_transport" =
      ps: with ps; [
      ]; # missing inputs: pyirishrail
        pyirishrail
      ];
    "iron_os" =
      ps: with ps; [
        aioesphomeapi
+2 −0
Original line number Diff line number Diff line
@@ -13124,6 +13124,8 @@ self: super: with self; {
  pyiqvia = callPackage ../development/python-modules/pyiqvia { };
  pyirishrail = callPackage ../development/python-modules/pyirishrail { };
  pyisbn = callPackage ../development/python-modules/pyisbn { };
  pyisemail = callPackage ../development/python-modules/pyisemail { };