python3Packages.ambiclimate: init at 0.2.1

This commit is contained in:
Fabian Affolter 2021-01-02 17:23:33 +01:00
parent a8040c700a
commit ebf4ede914
3 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
}:
buildPythonPackage rec {
pname = "ambiclimate";
version = "0.2.1";
src = fetchPypi {
pname = "Ambiclimate";
inherit version;
sha256 = "0vhmpazc2n7qyyh7wqsz635w0f8afk2i5d592ikb84bgnfn83483";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# tests are not present
doCheck = false;
pythonImportsCheck = [ "ambiclimate" ];
meta = with lib; {
description = "Python library to communicate with ambiclimate";
homepage = "https://github.com/Danielhiversen/pyAmbiclimate";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -25,7 +25,7 @@
"almond" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pyalmond
"alpha_vantage" = ps: with ps; [ ]; # missing inputs: alpha_vantage
"amazon_polly" = ps: with ps; [ boto3 ];
"ambiclimate" = ps: with ps; [ aiohttp-cors ]; # missing inputs: ambiclimate
"ambiclimate" = ps: with ps; [ aiohttp-cors ambiclimate ];
"ambient_station" = ps: with ps; [ ]; # missing inputs: aioambient
"amcrest" = ps: with ps; [ ha-ffmpeg ]; # missing inputs: amcrest
"ampio" = ps: with ps; [ ]; # missing inputs: asmog

View File

@ -283,6 +283,8 @@ in {
amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { };
ambiclimate = callPackage ../development/python-modules/ambiclimate { };
amply = callPackage ../development/python-modules/amply { };
amqp = callPackage ../development/python-modules/amqp { };