2018-01-10 18:29:37 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rx";
|
|
|
|
version = "1.6.0";
|
|
|
|
|
|
|
|
# There are no tests on the pypi source
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ReactiveX";
|
|
|
|
repo = "rxpy";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "174xi2j36igxmaqcgl5p64p31a7z19v62xb5czybjw72gpyyfyri";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
2018-05-30 03:43:55 +01:00
|
|
|
# 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;
|
|
|
|
|
2018-01-10 18:29:37 +00:00
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/ReactiveX/RxPY;
|
|
|
|
description = "Reactive Extensions for Python";
|
|
|
|
maintainers = with lib.maintainers; [ thanegill ];
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|