Commit 69ad83d8 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.aioambient: 2023.08.0 -> 2023.10.1

parent 0ccfba07
Loading
Loading
Loading
Loading
+2 −17
Original line number Diff line number Diff line
@@ -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 = "*"'