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