From aa1fb4cdff481aebe2e1f936d1e4cb09952e38f5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 11 Nov 2025 03:49:41 +0000 Subject: [PATCH 1/2] python3Packages.reactivex: 4.0.4 -> 4.1.0 --- pkgs/development/python-modules/reactivex/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/reactivex/default.nix b/pkgs/development/python-modules/reactivex/default.nix index ce3fc948ad7c..31ce4d8ff778 100644 --- a/pkgs/development/python-modules/reactivex/default.nix +++ b/pkgs/development/python-modules/reactivex/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "reactivex"; - version = "4.0.4"; + version = "4.1.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "ReactiveX"; repo = "RxPY"; tag = "v${version}"; - hash = "sha256-W1qYNbYV6Roz1GJtP/vpoPD6KigWaaQOWe1R5DZHlUw="; + hash = "sha256-napPfp72gqy43UmkPu1/erhjmJbZypHZQikmjIFVBqA="; }; nativeBuildInputs = [ poetry-core ]; From 55d35c1bcfef0e3601bbe251dbc1165e6fb1a31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 11 Nov 2025 08:32:43 -0800 Subject: [PATCH 2/2] python3Packages.reactivex: modernize --- .../python-modules/reactivex/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/reactivex/default.nix b/pkgs/development/python-modules/reactivex/default.nix index 31ce4d8ff778..d09aebab8814 100644 --- a/pkgs/development/python-modules/reactivex/default.nix +++ b/pkgs/development/python-modules/reactivex/default.nix @@ -5,16 +5,13 @@ poetry-core, pytest-asyncio, pytestCheckHook, - pythonOlder, typing-extensions, }: buildPythonPackage rec { pname = "reactivex"; version = "4.1.0"; - format = "pyproject"; - - disabled = pythonOlder "3.7"; + pyproject = true; src = fetchFromGitHub { owner = "ReactiveX"; @@ -23,9 +20,9 @@ buildPythonPackage rec { hash = "sha256-napPfp72gqy43UmkPu1/erhjmJbZypHZQikmjIFVBqA="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ typing-extensions ]; + dependencies = [ typing-extensions ]; nativeCheckInputs = [ pytest-asyncio @@ -40,10 +37,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "reactivex" ]; - meta = with lib; { + meta = { + changelog = "https://github.com/ReactiveX/RxPY/releases/tag/${src.tag}"; description = "Library for composing asynchronous and event-based programs"; homepage = "https://github.com/ReactiveX/RxPY"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ fab ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; }; }