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

python3Packages.lojack-api: init at 0.7.2 (#506813)

parents b163943f 9dd28dcb
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  aiohttp,
  aioresponses,
  pytestCheckHook,
  pytest-asyncio,
}:

buildPythonPackage (finalAttrs: {
  pname = "lojack-api";
  version = "0.7.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "devinslick";
    repo = "lojack_api";
    tag = finalAttrs.version;
    hash = "sha256-QVXiIN+gb/jm5H49ByT8+jVgl3RVKPSgpwca04C6Keo=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  nativeCheckInputs = [
    aioresponses
    pytestCheckHook
    pytest-asyncio
  ];

  pythonImportsCheck = [ "lojack_api" ];

  meta = {
    description = "Async Python client library for the Spireon LoJack API";
    homepage = "https://github.com/devinslick/lojack_api";
    changelog = "https://github.com/devinslick/lojack_api/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -3587,7 +3587,8 @@
      ];
    "lojack" =
      ps: with ps; [
      ]; # missing inputs: lojack-api
        lojack-api
      ];
    "london_air" =
      ps: with ps; [
      ];
@@ -7877,6 +7878,7 @@
    "logbook"
    "logentries"
    "logger"
    "lojack"
    "london_air"
    "london_underground"
    "lookin"
+2 −0
Original line number Diff line number Diff line
@@ -9283,6 +9283,8 @@ self: super: with self; {
  logzero = callPackage ../development/python-modules/logzero { };
  lojack-api = callPackage ../development/python-modules/lojack-api { };
  lomond = callPackage ../development/python-modules/lomond { };
  london-tube-status = callPackage ../development/python-modules/london-tube-status { };