Commit 0567de95 authored by Jamie Magee's avatar Jamie Magee
Browse files

python3Packages.trmnl: init at 0.1.1

parent 32cbbb03
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 ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -19708,6 +19708,8 @@ self: super: with self; {
    }
  );
  trmnl = callPackage ../development/python-modules/trmnl { };
  troi = callPackage ../development/python-modules/troi { };
  troposphere = callPackage ../development/python-modules/troposphere { };