From 2c23eae85dd5d67aafc9ac956d97dcd8838b556c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:19:08 +0200 Subject: [PATCH] python311Packages.aiostream: 0.5.2 -> 0.6.1 Diff: https://github.com/vxgmichel/aiostream/compare/refs/tags/v0.5.2...v0.6.1 Changelog: https://github.com/vxgmichel/aiostream/releases/tag/v0.6.1 --- .../python-modules/aiostream/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/aiostream/default.nix b/pkgs/development/python-modules/aiostream/default.nix index b787f69c1b74..98b2d3902fa4 100644 --- a/pkgs/development/python-modules/aiostream/default.nix +++ b/pkgs/development/python-modules/aiostream/default.nix @@ -5,29 +5,32 @@ pytest-asyncio, pytestCheckHook, pythonOlder, + setuptools, typing-extensions, }: buildPythonPackage rec { pname = "aiostream"; - version = "0.5.2"; - format = "setuptools"; + version = "0.6.1"; + pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "vxgmichel"; - repo = pname; + repo = "aiostream"; rev = "refs/tags/v${version}"; - hash = "sha256-g2W2TtCh2ANPjeTdASVgEu+qKfz/Ugh1rDWJcFvOJpI="; + hash = "sha256-RJ+0o8w92GteMRPOIddCBQ4JApi5gXiwkJRNe9t2E7g="; }; postPatch = '' - substituteInPlace setup.cfg \ - --replace " --cov aiostream --cov-report html --cov-report term" "" + substituteInPlace pyproject.toml \ + --replace-fail " --cov aiostream" "" ''; - propagatedBuildInputs = [ typing-extensions ]; + build-system = [ setuptools ]; + + dependencies = [ typing-extensions ]; nativeCheckInputs = [ pytest-asyncio