3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #179303 from fabaff/tesla-powerwall-bump

python310Packages.tesla-powerwall: 0.3.17 -> 0.3.18
This commit is contained in:
Fabian Affolter 2022-06-28 09:24:24 +02:00 committed by GitHub
commit 13c6dce22b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
, responses
}:
buildPythonPackage rec {
pname = "tesla-powerwall";
version = "0.3.17";
version = "0.3.18";
format = "setuptools";
src = fetchPypi {
pname = "tesla_powerwall";
inherit version;
sha256 = "09351e408e8e3cc03414944c1a487ef2178300829559e80835026acb84330cfd";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jrester";
repo = "tesla_powerwall";
rev = "v${version}";
hash = "sha256-Z+axzTiKDgJqGhl2c6g7N1AbmXO46lbaHVOXhMstoCY=";
};
propagatedBuildInputs = [
@ -31,12 +34,14 @@ buildPythonPackage rec {
"tests/unit"
];
pythonImportsCheck = [ "tesla_powerwall" ];
pythonImportsCheck = [
"tesla_powerwall"
];
meta = {
meta = with lib; {
description = "API for Tesla Powerwall";
homepage = "https://github.com/jrester/tesla_powerwall";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}