From 9eb18fc55ae553e380a1e7b3b989dd1e9b2e7e9c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 12 Sep 2024 10:35:12 +0200 Subject: [PATCH] python312Packages.aioconsole: 0.7.1 -> 0.8.0 Diff: https://github.com/vxgmichel/aioconsole/compare/refs/tags/v0.7.1...v0.8.0 Changelog: https://github.com/vxgmichel/aioconsole/releases/tag/v0.8.0 --- .../python-modules/aioconsole/default.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/aioconsole/default.nix b/pkgs/development/python-modules/aioconsole/default.nix index da4efbbdbb38..b374d2e51930 100644 --- a/pkgs/development/python-modules/aioconsole/default.nix +++ b/pkgs/development/python-modules/aioconsole/default.nix @@ -18,7 +18,7 @@ # wrapped to be able to find aioconsole and any other packages. buildPythonPackage rec { pname = "aioconsole"; - version = "0.7.1"; + version = "0.8.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -27,21 +27,21 @@ buildPythonPackage rec { owner = "vxgmichel"; repo = "aioconsole"; rev = "refs/tags/v${version}"; - hash = "sha256-c8zeKebS04bZS9pMIKAauaLPvRrWaGoDKbnF906tFzQ="; + hash = "sha256-gexVeMlDRxZXcBi/iIYPip0DZIKvxCxKmTd+9jm0ud8="; }; - nativeBuildInputs = [ setuptools ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail " --cov aioconsole --strict-markers --count 2 -vv" "" + ''; + + build-system = [ setuptools ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; - postPatch = '' - substituteInPlace setup.cfg \ - --replace "--cov aioconsole --count 2" "" - ''; - __darwinAllowLocalNetworking = true; disabledTests = [ @@ -53,11 +53,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "aioconsole" ]; meta = with lib; { - changelog = "https://github.com/vxgmichel/aioconsole/releases/tag/v${version}"; description = "Asynchronous console and interfaces for asyncio"; - mainProgram = "apython"; + changelog = "https://github.com/vxgmichel/aioconsole/releases/tag/v${version}"; homepage = "https://github.com/vxgmichel/aioconsole"; license = licenses.gpl3Only; maintainers = with maintainers; [ catern ]; + mainProgram = "apython"; }; }