From 9604b22e787a9fa3fc60181d9836645f62ef061d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Apr 2024 11:58:11 +0200 Subject: [PATCH 1/2] python312Packages.gios: refactor --- pkgs/development/python-modules/gios/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/gios/default.nix b/pkgs/development/python-modules/gios/default.nix index d7f9845b3075..46fb5fceebb7 100644 --- a/pkgs/development/python-modules/gios/default.nix +++ b/pkgs/development/python-modules/gios/default.nix @@ -8,23 +8,28 @@ , pytest-error-for-skips , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "gios"; version = "3.2.2"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "bieniu"; - repo = pname; + repo = "gios"; rev = "refs/tags/${version}"; hash = "sha256-5CiKikhIZ+1pb5/NJ2XzpG1XHrkyuW1WUvvNEpxJIcw="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ aiohttp dacite ]; From 378dfa7057eac2d9d8db7e56812e6ebc7bb097bb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Apr 2024 11:59:46 +0200 Subject: [PATCH 2/2] python312Packages.gios: 3.2.2 -> 4.0.0 Diff: https://github.com/bieniu/gios/compare/refs/tags/3.2.2...4.0.0 Changelog: https://github.com/bieniu/gios/releases/tag/4.0.0 --- pkgs/development/python-modules/gios/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/gios/default.nix b/pkgs/development/python-modules/gios/default.nix index 46fb5fceebb7..1d972641d392 100644 --- a/pkgs/development/python-modules/gios/default.nix +++ b/pkgs/development/python-modules/gios/default.nix @@ -9,20 +9,21 @@ , pytestCheckHook , pythonOlder , setuptools +, syrupy }: buildPythonPackage rec { pname = "gios"; - version = "3.2.2"; + version = "4.0.0"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "bieniu"; repo = "gios"; rev = "refs/tags/${version}"; - hash = "sha256-5CiKikhIZ+1pb5/NJ2XzpG1XHrkyuW1WUvvNEpxJIcw="; + hash = "sha256-rjC4zWWtaPxuBcjiO9dVsXD4dTa47iwkKuSFx+QXeXw="; }; build-system = [ @@ -39,6 +40,7 @@ buildPythonPackage rec { pytest-asyncio pytest-error-for-skips pytestCheckHook + syrupy ]; disabledTests = [