Merge pull request #285885 from r-ryantm/auto-update/python311Packages.sense-energy

python311Packages.sense-energy: 0.12.2 -> 0.12.3
This commit is contained in:
Robert Schütz 2024-02-03 06:29:50 +00:00 committed by GitHub
commit 4f301350da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, setuptools
, aiohttp , aiohttp
, ciso8601 , ciso8601
, async-timeout , async-timeout
@ -14,8 +15,8 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sense-energy"; pname = "sense-energy";
version = "0.12.2"; version = "0.12.3";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -23,14 +24,18 @@ buildPythonPackage rec {
owner = "scottbonline"; owner = "scottbonline";
repo = "sense"; repo = "sense";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-OVFRM31LwHNeJUx+s/TN/1o4wvjMQEKaZEPI+y+S64s="; hash = "sha256-aAPDYg5ttOAkKF5c1ft2apIQoReh4t22+78PtmLZNlI=";
}; };
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "{{VERSION_PLACEHOLDER}}" "${version}" --replace-fail "{{VERSION_PLACEHOLDER}}" "${version}"
''; '';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
async-timeout async-timeout