python312Packages.iottycloud: init at 0.1.3

This commit is contained in:
Robert Schütz 2024-08-08 14:41:40 -07:00 committed by Martin Weinelt
parent e5d572be2b
commit 245206ce7d
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
pytestCheckHook,
requests,
}:
buildPythonPackage rec {
pname = "iottycloud";
version = "0.1.3";
pyproject = true;
src = fetchFromGitHub {
owner = "pburgio";
repo = "iottyCloud";
# https://github.com/pburgio/iottyCloud/issues/1
rev = "c328cc497bf58a1da148ea88e309129177d69af0";
hash = "sha256-G06kvp4VG0OmZxDqvKnMJ+uD+6i5BFL/Iuke4vOdO/k=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "iottycloud" ];
nativeCheckInputs = [
pytestCheckHook
requests
];
meta = {
changelog = "https://github.com/pburgio/iottyCloud/releases/tag/v${version}";
description = "Python library to interact with iotty CloudApi";
homepage = "https://github.com/pburgio/iottyCloud";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -6052,6 +6052,8 @@ self: super: with self; {
iotawattpy = callPackage ../development/python-modules/iotawattpy { };
iottycloud = callPackage ../development/python-modules/iottycloud { };
iowait = callPackage ../development/python-modules/iowait { };
ipadic = callPackage ../development/python-modules/ipadic { };