Commit 55d35c1b authored by Robert Schütz's avatar Robert Schütz
Browse files

python3Packages.reactivex: modernize

parent aa1fb4cd
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -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 ];
  };
}