Merge pull request #183952 from marsam/revert-python-rx

Revert "python3Packages.rx: 3.2.0 -> 4.0.4"
This commit is contained in:
Robert Scott 2022-07-30 15:09:48 +01:00 committed by GitHub
commit a3fddd46a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,32 +1,18 @@
{ lib, fetchFromGitHub, buildPythonPackage { lib, fetchPypi, buildPythonPackage, pythonOlder, nose }:
, pythonOlder
, poetry-core
, nose
, typing-extensions
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "rx"; pname = "rx";
version = "4.0.4"; version = "3.2.0";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
format = "pyproject";
# There are no tests on the pypi source # Use fetchPypi to avoid the updater script to migrate it to `reactivex` which
src = fetchFromGitHub { # is being developed in the same repository
owner = "ReactiveX"; src = fetchPypi {
repo = "rxpy"; inherit version;
rev = "refs/tags/v${version}"; pname = "Rx";
sha256 = "sha256-W1qYNbYV6Roz1GJtP/vpoPD6KigWaaQOWe1R5DZHlUw="; sha256 = "b657ca2b45aa485da2f7dcfd09fac2e554f7ac51ff3c2f8f2ff962ecd963d91c";
}; };
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
typing-extensions
];
checkInputs = [ nose ]; checkInputs = [ nose ];
# Some tests are nondeterministic. (`grep sleep -r tests`) # Some tests are nondeterministic. (`grep sleep -r tests`)
@ -34,6 +20,8 @@ buildPythonPackage rec {
# test_new_thread_scheduler_timeout: https://hydra.nixos.org/build/74949851 # test_new_thread_scheduler_timeout: https://hydra.nixos.org/build/74949851
doCheck = false; doCheck = false;
pythonImportsCheck = [ "rx" ];
meta = { meta = {
homepage = "https://github.com/ReactiveX/RxPY"; homepage = "https://github.com/ReactiveX/RxPY";
description = "Reactive Extensions for Python"; description = "Reactive Extensions for Python";