Unverified Commit 1f2df51d authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.indevolt-api: init at 1.2.2 (#502330)

parents fdc7b8f7 799f1342
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  lib,
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  wheel,
}:

buildPythonPackage (finalAttrs: {
  pname = "indevolt-api";
  version = "1.2.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Xirt";
    repo = "indevolt-api";
    tag = "v${finalAttrs.version}";
    hash = "sha256-IDX7GgEDLryKTVIQM52hApI5Il+V7ay9usmL5FPc6vc=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  # no tests in upstream repository
  doCheck = false;

  pythonImportsCheck = [ "indevolt_api" ];

  meta = {
    description = "Python API client for Indevolt devices";
    homepage = "https://github.com/Xirt/indevolt-api";
    changelog = "https://github.com/Xirt/indevolt-api/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -2826,7 +2826,8 @@
      ];
    "indevolt" =
      ps: with ps; [
      ]; # missing inputs: indevolt-api
        indevolt-api
      ];
    "indianamichiganpower" =
      ps: with ps; [
      ];
@@ -7642,6 +7643,7 @@
    "immich"
    "improv_ble"
    "incomfort"
    "indevolt"
    "inels"
    "influxdb"
    "inkbird"
+2 −0
Original line number Diff line number Diff line
@@ -7475,6 +7475,8 @@ self: super: with self; {
  incremental = callPackage ../development/python-modules/incremental { };
  indevolt-api = callPackage ../development/python-modules/indevolt-api { };
  indexed-bzip2 = callPackage ../development/python-modules/indexed-bzip2 { };
  indexed-gzip = callPackage ../development/python-modules/indexed-gzip { inherit (pkgs) zlib; };