1ffc76754d
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
29 lines
850 B
Nix
29 lines
850 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rx";
|
|
version = "3.1.0";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
# There are no tests on the pypi source
|
|
src = fetchFromGitHub {
|
|
owner = "ReactiveX";
|
|
repo = "rxpy";
|
|
rev = "v${version}";
|
|
sha256 = "0rcwa8001il9p7s096b9gc5yld8cyxvrsmwh1gpc9b87j172z6ax";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|