Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 850 B view raw
1{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, nose }: 2 3buildPythonPackage rec { 4 pname = "rx"; 5 version = "3.1.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 = "0rcwa8001il9p7s096b9gc5yld8cyxvrsmwh1gpc9b87j172z6ax"; 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}