1{ lib, fetchFromGitHub, buildPythonPackage, nose }:
2
3buildPythonPackage rec {
4 pname = "rx";
5 version = "1.6.1";
6
7 # There are no tests on the pypi source
8 src = fetchFromGitHub {
9 owner = "ReactiveX";
10 repo = "rxpy";
11 rev = version;
12 sha256 = "14bca67a26clzcf2abz2yb8g9lfxffjs2l236dp966sp0lfbpsn5";
13 };
14
15 checkInputs = [ nose ];
16
17 # Some tests are nondeterministic. (`grep sleep -r tests`)
18 # test_timeout_schedule_action_cancel: https://hydra.nixos.org/build/74954646
19 # test_new_thread_scheduler_timeout: https://hydra.nixos.org/build/74949851
20 doCheck = false;
21
22 meta = {
23 homepage = https://github.com/ReactiveX/RxPY;
24 description = "Reactive Extensions for Python";
25 maintainers = with lib.maintainers; [ thanegill ];
26 license = lib.licenses.asl20;
27 };
28}