Skip to content

Commit

Permalink
Merge pull request #179303 from fabaff/tesla-powerwall-bump
Browse files Browse the repository at this point in the history
python310Packages.tesla-powerwall: 0.3.17 -> 0.3.18
  • Loading branch information
fabaff committed Jun 28, 2022
2 parents 3685112 + 8699200 commit 13c6dce
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions pkgs/development/python-modules/tesla-powerwall/default.nix
Original file line number Diff line number Diff line change
@@ -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 = [
Expand All @@ -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 ];
};
}

0 comments on commit 13c6dce

Please sign in to comment.