forked from mirrors/nixpkgs
38 lines
691 B
Nix
38 lines
691 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|