diff options
Diffstat (limited to 'pkgs/development/python-modules/volkszaehler/default.nix')
-rw-r--r-- | pkgs/development/python-modules/volkszaehler/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/volkszaehler/default.nix b/pkgs/development/python-modules/volkszaehler/default.nix new file mode 100644 index 0000000000000..fdd3e1923a39d --- /dev/null +++ b/pkgs/development/python-modules/volkszaehler/default.nix @@ -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 ]; + }; +} |