3
0
Fork 0
forked from mirrors/nixpkgs

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:
Fabian Affolter 2023-05-24 09:44:10 +02:00
parent f7b0871da5
commit b3c7ae8a3d

View file

@ -5,7 +5,6 @@
, buildPythonPackage
, events
, fetchFromGitHub
, fetchpatch
, freezegun
, home-assistant-bluetooth
, poetry-core
@ -18,7 +17,7 @@
buildPythonPackage rec {
pname = "pysnooz";
version = "0.8.3";
version = "0.8.4";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -27,19 +26,9 @@ buildPythonPackage rec {
owner = "AustinBrunkhorst";
repo = pname;
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 = ''
substituteInPlace pyproject.toml \
--replace 'transitions = "^0.8.11"' 'transitions = ">0.8.11"' \