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