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 ]; }; }