Revert "python3Packages.rx: 3.2.0 -> 4.0.4"

https://github.com/ReactiveX/rxpy renamed the module name to `reactivex`
effectively breaking dependent packages.

This reverts commit eb885d30f9.
This commit is contained in:
Mario Rodas 2022-07-30 04:20:00 +00:00
parent b2c1806cfe
commit 7bc2ac6489

View File

@ -1,32 +1,18 @@
{ lib, fetchFromGitHub, buildPythonPackage
, pythonOlder
, poetry-core
, nose
, typing-extensions
}:
{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, nose }:
buildPythonPackage rec {
pname = "rx";
version = "4.0.4";
version = "3.2.0";
disabled = pythonOlder "3.6";
format = "pyproject";
# There are no tests on the pypi source
src = fetchFromGitHub {
owner = "ReactiveX";
repo = "rxpy";
rev = "refs/tags/v${version}";
sha256 = "sha256-W1qYNbYV6Roz1GJtP/vpoPD6KigWaaQOWe1R5DZHlUw=";
rev = "v${version}";
sha256 = "159ln0c721rrdz0mqyl3zvv6qsry7ql7ddlpwpnxs9q15ik15mnj";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
typing-extensions
];
checkInputs = [ nose ];
# Some tests are nondeterministic. (`grep sleep -r tests`)