python311Packages.aioambient: 2023.08.0 -> 2023.10.1

Changelog: https://github.com/bachya/aioambient/releases/tag/2023.10.1
This commit is contained in:
Fabian Affolter 2023-10-11 08:04:48 +02:00
parent 0ccfba07f2
commit 69ad83d8d6

View File

@ -3,7 +3,6 @@
, aresponses
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, pytest-aiohttp
, pytest-asyncio
@ -16,7 +15,7 @@
buildPythonPackage rec {
pname = "aioambient";
version = "2023.08.0";
version = "2023.10.1";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -25,23 +24,9 @@ buildPythonPackage rec {
owner = "bachya";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-Y8I4iPvxcK98Olb3JURNK37MKggdhcweKvNBa0ZtG6I=";
hash = "sha256-Q7jb0tJsbVM2vEqKgjXOWJN2OwR9qLchU/4ShOUGPT4=";
};
patches = [
# This patch removes references to setuptools and wheel that are no longer
# necessary and changes poetry to poetry-core, so that we don't need to add
# unnecessary nativeBuildInputs.
#
# https://github.com/bachya/aioambient/pull/295
#
(fetchpatch {
name = "clean-up-build-dependencies.patch";
url = "https://github.com/bachya/aioambient/commit/fa21a2e82678a231a73c8a1153032980926f4c35.patch";
hash = "sha256-RLRbHmaR2A8MNc96WHx0L8ccyygoBUaOulAuRJkFuUM=";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'websockets = ">=11.0.1"' 'websockets = "*"'