blob: 56510a6aec0b2260a26d3e67207465e9e9ef6f19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
pytestCheckHook,
enrich,
}:
buildPythonPackage rec {
pname = "subprocess-tee";
version = "0.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "pycontribs";
repo = "subprocess-tee";
tag = "v${version}";
hash = "sha256-rfI4UZdENfSQ9EbQeldv6DDGIQe5yMjboGTCOwed1AU=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
enrich
];
disabledTests = [
# cyclic dependency on `molecule` (see https://github.com/pycontribs/subprocess-tee/issues/50)
"test_molecule"
# duplicates in console output, rich issue
"test_rich_console_ex"
];
pythonImportsCheck = [ "subprocess_tee" ];
meta = {
homepage = "https://github.com/pycontribs/subprocess-tee";
description = "Subprocess.run drop-in replacement that supports a tee mode";
changelog = "https://github.com/pycontribs/subprocess-tee/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ putchar ];
};
}
|