nixpkgs-suyu/pkgs/development/python-modules/subprocess-tee/default.nix
2021-08-11 17:06:58 +02:00

37 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 ];
};
}