Commit 7505e6cd authored by Jamie Magee's avatar Jamie Magee
Browse files

python3Packages.indevolt-api: init at 1.2.2

parent 127473ff
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 ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -7473,6 +7473,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; };