1 { stdenv, lib, buildPythonPackage, fetchPypi
2 , nose, psutil, mock }:
4 buildPythonPackage rec {
10 sha256 = "1f1bbaac203a23fbc851dc1b5a6e92c50698cc8cefa5873eb5b89eef53d1d82b";
14 ./mapping-import.patch
17 nativeCheckInputs = [ nose psutil mock ];
20 # https://github.com/NixOS/nixpkgs/pull/46186#issuecomment-419450064
21 # Trick to disable certain tests that depend on timing which
22 # will always fail on hydra
24 nosetests tests/test_selectors2.py \
25 --exclude=test_above_fd_setsize
29 broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
30 homepage = "https://www.github.com/SethMichaelLarson/selectors2";
31 description = "Back-ported, durable, and portable selectors";
32 license = licenses.mit;