Merge pull request #108233 from fabaff/ambiclimate

python3Packages.ambiclimate: init at 0.2.1
This commit is contained in:
Martin Weinelt 2021-01-02 17:48:26 +01:00 committed by GitHub
commit d47eae33b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 { };