python311Packages.pysnooz: 0.8.3 -> 0.8.4
Diff: https://github.com/AustinBrunkhorst/pysnooz/compare/v0.8.3...v0.8.4
This commit is contained in:
parent
f7b0871da5
commit
b3c7ae8a3d
|
@ -5,7 +5,6 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, events
|
, events
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, freezegun
|
, freezegun
|
||||||
, home-assistant-bluetooth
|
, home-assistant-bluetooth
|
||||||
, poetry-core
|
, poetry-core
|
||||||
|
@ -18,7 +17,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pysnooz";
|
pname = "pysnooz";
|
||||||
version = "0.8.3";
|
version = "0.8.4";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
@ -27,19 +26,9 @@ buildPythonPackage rec {
|
||||||
owner = "AustinBrunkhorst";
|
owner = "AustinBrunkhorst";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-K99sE9vxJo6grkp04DmTKOVqdfpQI0kUzJjSR6gnSew=";
|
hash = "sha256-PrjDGBmdYN5qWUh5fvtq1yOMa/Lobq181C2RNfwfARI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# fix tests against bleak 0.20.0+
|
|
||||||
# https://github.com/AustinBrunkhorst/pysnooz/pull/9
|
|
||||||
name = "pysnooz-bleak-0.20.0-compat.patch";
|
|
||||||
url = "https://github.com/AustinBrunkhorst/pysnooz/commit/594951051ceb40003975e61d64cfc683188d87d3.patch";
|
|
||||||
hash = "sha256-cWQt9V9IOB0YoW5zUR0PBTqS0a30fMTHpXH6CxWKRcc=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace 'transitions = "^0.8.11"' 'transitions = ">0.8.11"' \
|
--replace 'transitions = "^0.8.11"' 'transitions = ">0.8.11"' \
|
||||||
|
|
Loading…
Reference in a new issue