Unverified Commit 53cc2436 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.trmnl: init at 0.1.1 (#506845)

parents 5feb6226 109dc4e2
Loading
Loading
Loading
Loading
+55 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  aiohttp,
  mashumaro,
  orjson,
  yarl,
  aioresponses,
  pytest-asyncio,
  pytest-cov-stub,
  pytestCheckHook,
  syrupy,
}:

buildPythonPackage (finalAttrs: {
  pname = "trmnl";
  version = "0.1.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "joostlek";
    repo = "python-trmnl";
    tag = "v${finalAttrs.version}";
    hash = "sha256-Gpyhp+d27/IxDOTFxcN9ltYbOJOg9scf17qVb/ArBw0=";
  };

  build-system = [ poetry-core ];

  dependencies = [
    aiohttp
    mashumaro
    orjson
    yarl
  ];

  nativeCheckInputs = [
    aioresponses
    pytest-asyncio
    pytest-cov-stub
    pytestCheckHook
    syrupy
  ];

  pythonImportsCheck = [ "trmnl" ];

  meta = {
    description = "Asynchronous Python client for TRMNL";
    homepage = "https://github.com/joostlek/python-trmnl";
    changelog = "https://github.com/joostlek/python-trmnl/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -6626,7 +6626,8 @@
      ];
    "trmnl" =
      ps: with ps; [
      ]; # missing inputs: trmnl
        trmnl
      ];
    "tts" =
      ps: with ps; [
        ha-ffmpeg
@@ -8332,6 +8333,7 @@
    "transport_nsw"
    "trend"
    "triggercmd"
    "trmnl"
    "tts"
    "tuya"
    "twentemilieu"
+2 −0
Original line number Diff line number Diff line
@@ -19718,6 +19718,8 @@ self: super: with self; {
    }
  );
  trmnl = callPackage ../development/python-modules/trmnl { };
  troi = callPackage ../development/python-modules/troi { };
  troposphere = callPackage ../development/python-modules/troposphere { };