mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
Merge pull request #227733 from dotlambda/sense-energy-0.11.2
python310Packages.sense-energy: 0.11.1 -> 0.11.2
This commit is contained in:
commit
530d157cf3
|
@ -2,6 +2,8 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, orjson
|
||||
, pythonOlder
|
||||
, requests
|
||||
, websocket-client
|
||||
|
@ -10,7 +12,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "sense-energy";
|
||||
version = "0.11.1";
|
||||
version = "0.11.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -19,15 +21,18 @@ buildPythonPackage rec {
|
|||
owner = "scottbonline";
|
||||
repo = "sense";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-lfqQelAHh/xJH1jPz3JK32AIEA7ghUP6Mnya2M34V/w=";
|
||||
hash = "sha256-i6XI6hiQTOGHB4KcDgz/MlYAhdEKaElLfNMq2R0fgu8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/download_url/d' setup.py
|
||||
substituteInPlace setup.py \
|
||||
--replace "{{VERSION_PLACEHOLDER}}" "${version}"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
orjson
|
||||
requests
|
||||
websocket-client
|
||||
websockets
|
||||
|
|
Loading…
Reference in a new issue