Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / rx / default.nix
blob3dc07cd0def4b6c1db881350dd75d03216f2066a
1 { lib, fetchPypi, buildPythonPackage, pythonOlder, nose }:
3 buildPythonPackage rec {
4   pname = "rx";
5   version = "3.2.0";
6   disabled = pythonOlder "3.6";
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   };
16   nativeCheckInputs = [ nose ];
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;
23   pythonImportsCheck = [ "rx" ];
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   };