Merge pull request #147112 from fabaff/bump-volkszaehler

python3Packages.volkszaehler: 0.3.0 -> 0.3.2
This commit is contained in:
Fabian Affolter
2021-11-23 13:22:26 +01:00
committed by GitHub
@@ -1,17 +1,23 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "volkszaehler";
version = "0.2.2";
version = "0.3.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1oqzhC3Yq2V30F3ilr80vKFnTmI/CdIVLuzMlIr40xI=";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "home-assistant-ecosystem";
repo = "python-volkszaehler";
rev = version;
sha256 = "sha256-EiruMlhXvbUhCaDtHc3qCLbpp/KHp9rVpk2FmbR4A/k=";
};
propagatedBuildInputs = [
@@ -22,10 +28,12 @@ buildPythonPackage rec {
# no tests are present
doCheck = false;
pythonImportsCheck = [ "volkszaehler" ];
pythonImportsCheck = [
"volkszaehler"
];
meta = with lib; {
description = "Python Wrapper for interacting with the Volkszahler API";
description = "Python module for interacting with the Volkszahler API";
homepage = "https://github.com/home-assistant-ecosystem/python-volkszaehler";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];