python311Packages.devialet: init at 1.4.3

Library to interact with Devialet API

https://github.com/fwestenberg/devialet
This commit is contained in:
Fabian Affolter 2023-12-07 13:22:17 +01:00 committed by Martin Weinelt
parent 8ca90ac70f
commit f802b8eeda
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "devialet";
version = "1.4.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fwestenberg";
repo = "devialet";
rev = "refs/tags/v${version}";
hash = "sha256-DVwf1zQXwPe8W2SzL9CnYE+gwLgPEnI+tQTfR+ijwF4=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"devialet"
];
meta = with lib; {
description = "Library to interact with the Devialet API";
homepage = "https://github.com/fwestenberg/devialet";
changelog = "https://github.com/fwestenberg/devialet/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2789,6 +2789,8 @@ self: super: with self; {
detectron2 = callPackage ../development/python-modules/detectron2 { };
devialet = callPackage ../development/python-modules/devialet { };
devito = callPackage ../development/python-modules/devito { };
devolo-home-control-api = callPackage ../development/python-modules/devolo-home-control-api { };