Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / rx / default.nix
blob5fd9064020a47d0dd1046f181a4e89732f6cd1f0
1 { lib, fetchFromGitHub, buildPythonPackage, pythonOlder, nose }:
3 buildPythonPackage rec {
4   pname = "rx";
5   version = "3.1.1";
6   disabled = pythonOlder "3.6";
8   # There are no tests on the pypi source
9   src = fetchFromGitHub {
10     owner = "ReactiveX";
11     repo = "rxpy";
12     rev = "v${version}";
13     sha256 = "0p0cs67l40npkvwgn5sb18l1b6df1b9fg6rzlqkwk2aa0v3cpvhf";
14   };
16   checkInputs = [ 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   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   };