Unverified Commit 50747793 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.py-nymta: init at 0.4.0 (#502360)

parents 9f1637c1 c09f47d8
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  aiofiles,
  aiohttp,
  gtfs-realtime-bindings,
  pytestCheckHook,
  pytest-asyncio,
  writableTmpDirAsHomeHook,
}:

buildPythonPackage (finalAttrs: {
  pname = "py-nymta";
  version = "0.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "OnFreund";
    repo = "py-nymta";
    tag = finalAttrs.version;
    hash = "sha256-JVcdpS7qcrULOLnlV2ZJr7NQPJGGUKfrQCFcb64X2ak=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiofiles
    aiohttp
    gtfs-realtime-bindings
  ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-asyncio
    writableTmpDirAsHomeHook
  ];

  pythonImportsCheck = [ "pymta" ];

  meta = {
    description = "Python library for accessing MTA real-time transit data for NYC";
    homepage = "https://github.com/OnFreund/py-nymta";
    changelog = "https://github.com/OnFreund/py-nymta/releases/tag/${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -4027,7 +4027,8 @@
      ];
    "mta" =
      ps: with ps; [
      ]; # missing inputs: py-nymta
        py-nymta
      ];
    "mullvad" =
      ps: with ps; [
        mullvad-api
@@ -7814,6 +7815,7 @@
    "mqtt_json"
    "mqtt_room"
    "mqtt_statestream"
    "mta"
    "mullvad"
    "music_assistant"
    "mutesync"
+2 −0
Original line number Diff line number Diff line
@@ -13147,6 +13147,8 @@ self: super: with self; {
  py-nightscout = callPackage ../development/python-modules/py-nightscout { };
  py-nymta = callPackage ../development/python-modules/py-nymta { };
  py-ocsf-models = callPackage ../development/python-modules/py-ocsf-models { };
  py-opensonic = callPackage ../development/python-modules/py-opensonic { };