depot/third_party/nixpkgs/pkgs/development/python-modules/rx/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
799 B
Nix

{ lib, fetchFromGitHub, buildPythonPackage, nose }:
buildPythonPackage rec {
pname = "rx";
version = "1.6.1";
# There are no tests on the pypi source
src = fetchFromGitHub {
owner = "ReactiveX";
repo = "rxpy";
rev = version;
sha256 = "14bca67a26clzcf2abz2yb8g9lfxffjs2l236dp966sp0lfbpsn5";
};
checkInputs = [ nose ];
# Some tests are nondeterministic. (`grep sleep -r tests`)
# test_timeout_schedule_action_cancel: https://hydra.nixos.org/build/74954646
# test_new_thread_scheduler_timeout: https://hydra.nixos.org/build/74949851
doCheck = false;
meta = {
homepage = "https://github.com/ReactiveX/RxPY";
description = "Reactive Extensions for Python";
maintainers = with lib.maintainers; [ thanegill ];
license = lib.licenses.asl20;
};
}