python3Packages.volkszaehler: init at 0.2.0

This commit is contained in:
Fabian Affolter 2021-01-01 20:32:28 +01:00
parent d4a76b1f5f
commit 61e0d1d4f6
3 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
}:
buildPythonPackage rec {
pname = "volkszaehler";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "087gw1k3f81lm859r0j65cjia8c2dcy4cx8c7s3mb5msb1csdh0x";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# no tests are present
doCheck = false;
pythonImportsCheck = [ "volkszaehler" ];
meta = with lib; {
description = "Python Wrapper for interacting with the Volkszahler API";
homepage = "https://github.com/home-assistant-ecosystem/python-volkszaehler";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -908,7 +908,7 @@
"vlc" = ps: with ps; [ python-vlc ];
"vlc_telnet" = ps: with ps; [ ]; # missing inputs: python-telnet-vlc
"voicerss" = ps: with ps; [ ];
"volkszaehler" = ps: with ps; [ ]; # missing inputs: volkszaehler
"volkszaehler" = ps: with ps; [ volkszaehler ];
"volumio" = ps: with ps; [ ]; # missing inputs: pyvolumio
"volvooncall" = ps: with ps; [ ]; # missing inputs: volvooncall
"vultr" = ps: with ps; [ vultr ];

View file

@ -7758,6 +7758,8 @@ in {
vobject = callPackage ../development/python-modules/vobject { };
volkszaehler = callPackage ../development/python-modules/volkszaehler { };
voluptuous = callPackage ../development/python-modules/voluptuous { };
voluptuous-serialize = callPackage ../development/python-modules/voluptuous-serialize { };