python3Packages.teslajsonpy: 0.11.5 -> 0.18.3

This commit is contained in:
Martin Weinelt 2021-05-02 03:25:32 +02:00
parent 04c63bebc7
commit 62b190d9b8
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,10 +1,12 @@
{ lib
, aiohttp
, authcaptureproxy
, backoff
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, pytest-asyncio
, pytestCheckHook
, wrapt
@ -12,24 +14,22 @@
buildPythonPackage rec {
pname = "teslajsonpy";
version = "0.11.5";
version = "0.18.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "zabuldon";
repo = pname;
rev = "v${version}";
sha256 = "sha256-s0IZ1UNldYddaR3zJoYS6ey8Kjxd1fr4fOwf0gNNbow=";
sha256 = "1hdc5gm6dg1vw6qfs3z6mg2m94scrvjphj0lin6pi8n3zqj1h26k";
};
patches = [
(fetchpatch {
name = "dont-use-dummpy-module-bs4.patch";
url = "https://github.com/zabuldon/teslajsonpy/pull/138/commits/f5a788e47d8338c8ebb06d954f802ba1ec614db3.patch";
sha256 = "0rws7fhxmca8d5w0bkygx8scvzah3yvb3yfhn05qmp73mn3pmcb3";
})
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
authcaptureproxy
aiohttp
backoff
beautifulsoup4