python3Packages.reactivex: modernize

This commit is contained in:
Robert Schütz
2025-11-11 08:32:43 -08:00
parent aa1fb4cdff
commit 55d35c1bcf
@@ -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 ];
};
}