1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5, pytestCheckHook 6, enrich 7}: 8 9buildPythonPackage rec { 10 pname = "subprocess-tee"; 11 version = "0.3.5"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "ff5cced589a4b8ac973276ca1ba21bb6e3de600cde11a69947ff51f696efd577"; 16 }; 17 18 nativeBuildInputs = [ 19 setuptools-scm 20 ]; 21 22 checkInputs = [ 23 pytestCheckHook 24 enrich 25 ]; 26 27 disabledTests = [ 28 # cyclic dependency on `molecule` (see https://github.com/pycontribs/subprocess-tee/issues/50) 29 "test_molecule" 30 ]; 31 32 pythonImportsCheck = [ 33 "subprocess_tee" 34 ]; 35 36 meta = with lib; { 37 homepage = "https://github.com/pycontribs/subprocess-tee"; 38 description = "A subprocess.run drop-in replacement that supports a tee mode"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ putchar ]; 41 }; 42}