2020-07-06 22:29:01 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, nose }:
|
2018-01-10 18:29:37 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rx";
|
2021-06-19 01:39:13 +00:00
|
|
|
version = "3.2.0";
|
2020-07-06 22:29:01 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2018-01-10 18:29:37 +00:00
|
|
|
|
|
|
|
# There are no tests on the pypi source
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ReactiveX";
|
|
|
|
repo = "rxpy";
|
2020-07-06 22:29:01 +00:00
|
|
|
rev = "v${version}";
|
2021-06-19 01:39:13 +00:00
|
|
|
sha256 = "159ln0c721rrdz0mqyl3zvv6qsry7ql7ddlpwpnxs9q15ik15mnj";
|
2018-01-10 18:29:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
2018-05-30 02:43:55 +00:00
|
|
|
# Some tests are nondeterministic. (`grep sleep -r tests`)
|
|
|
|
# test_timeout_schedule_action_cancel: https://hydra.nixos.org/build/74954646
|
|
|
|
# test_new_thread_scheduler_timeout: https://hydra.nixos.org/build/74949851
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-01-10 18:29:37 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ReactiveX/RxPY";
|
2018-01-10 18:29:37 +00:00
|
|
|
description = "Reactive Extensions for Python";
|
|
|
|
maintainers = with lib.maintainers; [ thanegill ];
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|