9 buildPythonPackage rec {
14 src = fetchFromGitHub {
17 rev = "refs/tags/${version}";
18 hash = "sha256-c4Ms4ydcW7LgmAI1WuYD74nzILuY/Xg+JePJe0q5AQQ=";
33 # A test needs the HOME directory to be different from $TMPDIR.
35 export HOME=$(mktemp -d)
39 # Disable tests that fail on Hydra
41 "test_piped_exception1"
42 "test_piped_exception2"
44 # fails to import itself after modifying the environment
46 # timing sensitive through usage of sleep(1) and signal handling
47 # https://github.com/amoffat/sh/issues/684
49 ] ++ lib.optionals stdenv.isDarwin [
50 # Disable tests that fail on Darwin sandbox
51 "test_background_exception"
57 description = "Python subprocess interface";
58 homepage = "https://pypi.python.org/pypi/sh/";
59 license = licenses.mit;
60 maintainers = with maintainers; [ siriobalmelli ];