mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 21:04:30 +00:00
Merge pull request #233763 from fabaff/pysnooz-bump
python311Packages.pysnooz: 0.8.3 -> 0.8.4
This commit is contained in:
commit
baac3141de
@ -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"' \
|
||||
|
Loading…
Reference in New Issue
Block a user