1 { stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook }:
3 buildPythonPackage rec {
7 src = fetchFromGitHub {
9 repo = "python-capturer";
11 sha256 = "0fwrxa049gzin5dck7fvwhdp1856jrn0d7mcjcjsd7ndqvhgvjj1";
14 propagatedBuildInputs = [ humanfriendly ];
17 doCheck = !stdenv.isDarwin;
18 nativeCheckInputs = [ pytestCheckHook ];
21 description = "Easily capture stdout/stderr of the current process and subprocesses";
22 homepage = "https://github.com/xolox/python-capturer";
23 license = licenses.mit;
24 maintainers = with maintainers; [ eyjhb ];