Merge pull request #109814 from fabaff/waqiasync

This commit is contained in:
Sandro 2021-01-18 21:14:58 +01:00 committed by GitHub
commit 7296caf2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,32 @@
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "waqiasync";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1yxls7ywfg954c3vxgnp98qa1b8dsq9b2fld11fb9sx1k4mjc29d";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "waqiasync" ];
meta = with lib; {
description = "Python library for http://aqicn.org";
homepage = "https://github.com/andrey-git/waqi-async";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -913,7 +913,7 @@
"vultr" = ps: with ps; [ vultr ];
"w800rf32" = ps: with ps; [ ]; # missing inputs: pyW800rf32
"wake_on_lan" = ps: with ps; [ wakeonlan ];
"waqi" = ps: with ps; [ ]; # missing inputs: waqiasync
"waqi" = ps: with ps; [ waqiasync ];
"water_heater" = ps: with ps; [ ];
"waterfurnace" = ps: with ps; [ waterfurnace ];
"watson_iot" = ps: with ps; [ ]; # missing inputs: ibmiotf

View File

@ -8068,6 +8068,8 @@ in {
warrant = callPackage ../development/python-modules/warrant { };
waqiasync = callPackage ../development/python-modules/waqiasync { };
wasabi = callPackage ../development/python-modules/wasabi { };
wasm = callPackage ../development/python-modules/wasm { };