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