d0d8e8fc71
GitOrigin-RevId: d3f7e969b9860fb80750147aeb56dab1c730e756
33 lines
686 B
Nix
33 lines
686 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, aiohttp
|
|
, async-timeout
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "volkszaehler";
|
|
version = "0.2.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-1oqzhC3Yq2V30F3ilr80vKFnTmI/CdIVLuzMlIr40xI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|