python313Packages.renson-endura-delta: 1.7.1 -> 1.7.2

The GitHub repository and user are gone. I manually audited all of the
code, because that seemed suspicious and could have put home-assistant
users at risk, but everything looked innocent.
This commit is contained in:
Martin Weinelt 2025-01-03 01:40:06 +01:00
parent 0fa08fd418
commit b8816259e6
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchPypi,
pytestCheckHook,
pythonOlder,
requests,
@ -11,16 +11,16 @@
buildPythonPackage rec {
pname = "renson-endura-delta";
version = "1.7.1";
version = "1.7.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jimmyd-be";
repo = "Renson-endura-delta-library";
tag = version;
hash = "sha256-ndk0qcRUWxUimNHg62UgeYK/MRKQd3e4JQDh9x8vFj8=";
# github repo is gone
src = fetchPypi {
pname = "renson_endura_delta";
inherit version;
hash = "sha256-bL4faNFh+ocNNspZCXE6/UZ4nH3mKkHSAEvwtN0xfoE=";
};
postPatch = ''
@ -32,6 +32,8 @@ buildPythonPackage rec {
dependencies = [ requests ];
doCheck = false; # no tests in sdist
nativeCheckInputs = [
pytestCheckHook
requests-mock