biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / subprocess-tee / default.nix
blobd7e572746520d7e32fd86e4d27f0164a2b635176
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   setuptools-scm,
7   pytestCheckHook,
8   enrich,
9 }:
11 buildPythonPackage rec {
12   pname = "subprocess-tee";
13   version = "0.4.2";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "pycontribs";
18     repo = "subprocess-tee";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-rfI4UZdENfSQ9EbQeldv6DDGIQe5yMjboGTCOwed1AU=";
21   };
23   build-system = [
24     setuptools
25     setuptools-scm
26   ];
28   nativeCheckInputs = [
29     pytestCheckHook
30     enrich
31   ];
33   disabledTests = [
34     # cyclic dependency on `molecule` (see https://github.com/pycontribs/subprocess-tee/issues/50)
35     "test_molecule"
36     # duplicates in console output, rich issue
37     "test_rich_console_ex"
38   ];
40   pythonImportsCheck = [ "subprocess_tee" ];
42   meta = with lib; {
43     homepage = "https://github.com/pycontribs/subprocess-tee";
44     description = "Subprocess.run drop-in replacement that supports a tee mode";
45     changelog = "https://github.com/pycontribs/subprocess-tee/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
46     license = licenses.mit;
47     maintainers = with maintainers; [ putchar ];
48   };