python3Packages.subprocess-tee: init at 0.3.2

This commit is contained in:
Slim Cadoux 2021-08-11 17:06:58 +02:00
parent 268e92bde0
commit e46127fb1c
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, pytestCheckHook
, enrich
}:
buildPythonPackage rec {
pname = "subprocess-tee";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "01b0z8mcm568v9carhi0py1hs34wrbnlzyvdmhqzipql407kdpk2";
};
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
pytestCheckHook
enrich
];
pythonImportsCheck = [
"subprocess_tee"
];
meta = with lib; {
homepage = "https://github.com/pycontribs/subprocess-tee";
description = "A subprocess.run drop-in replacement that supports a tee mode";
license = licenses.mit;
maintainers = with maintainers; [ putchar ];
};
}

View File

@ -8382,6 +8382,8 @@ in {
subliminal = callPackage ../development/python-modules/subliminal { };
subprocess-tee = callPackage ../development/python-modules/subprocess-tee { };
subunit = callPackage ../development/python-modules/subunit {
inherit (pkgs) subunit cppunit check;
};