mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.indevolt-api: init at 1.2.2 (#502330)
This commit is contained in:
38
pkgs/development/python-modules/indevolt-api/default.nix
Normal file
38
pkgs/development/python-modules/indevolt-api/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
})
|
||||
@@ -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"
|
||||
|
||||
@@ -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; };
|
||||
|
||||
Reference in New Issue
Block a user