Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 945 B view raw
1{ lib, fetchPypi, buildPythonPackage, pythonOlder, nose }: 2 3buildPythonPackage rec { 4 pname = "rx"; 5 version = "3.2.0"; 6 disabled = pythonOlder "3.6"; 7 8 # Use fetchPypi to avoid the updater script to migrate it to `reactivex` which 9 # is being developed in the same repository 10 src = fetchPypi { 11 inherit version; 12 pname = "Rx"; 13 sha256 = "b657ca2b45aa485da2f7dcfd09fac2e554f7ac51ff3c2f8f2ff962ecd963d91c"; 14 }; 15 16 nativeCheckInputs = [ 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 pythonImportsCheck = [ "rx" ]; 24 25 meta = { 26 homepage = "https://github.com/ReactiveX/RxPY"; 27 description = "Reactive Extensions for Python"; 28 maintainers = with lib.maintainers; [ thanegill ]; 29 license = lib.licenses.asl20; 30 }; 31}