Merge pull request #160827 from dotlambda/geniushub-client-init

python3Packages.geniushub-client: init at 0.6.30
This commit is contained in:
Fabian Affolter 2022-02-19 11:36:41 +01:00 committed by GitHub
commit 8846c132d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 1 deletions

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
}:
buildPythonPackage rec {
pname = "geniushub-client";
version = "0.6.30";
src = fetchPypi {
inherit pname version;
sha256 = "390932b6e5051e221d104b2683d9deb6e352172c4ec4eeede0954bf2f9680211";
};
propagatedBuildInputs = [
aiohttp
];
# tests only implemented after 0.6.30
doCheck = false;
pythonImportsCheck = [ "geniushubclient" ];
meta = with lib; {
description = "Aiohttp-based client for Genius Hub systems";
homepage = "https://github.com/zxdavb/geniushub-client";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -312,7 +312,7 @@
"generic" = ps: with ps; [ ];
"generic_hygrostat" = ps: with ps; [ ];
"generic_thermostat" = ps: with ps; [ sqlalchemy ];
"geniushub" = ps: with ps; [ ]; # missing inputs: geniushub-client
"geniushub" = ps: with ps; [ geniushub-client ];
"geo_json_events" = ps: with ps; [ geojson-client ];
"geo_location" = ps: with ps; [ ];
"geo_rss_events" = ps: with ps; [ georss-generic-client ];

View file

@ -3200,6 +3200,8 @@ in {
generic = callPackage ../development/python-modules/generic { };
geniushub-client = callPackage ../development/python-modules/geniushub-client { };
genome-collector = callPackage ../development/python-modules/genome-collector { };
genpy = callPackage ../development/python-modules/genpy { };