linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pytest-subprocess / default.nix
blobd0c54c1acfb44094c6b6722bcf46acf8985c5382
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , pytest
6 , pytestCheckHook
7 , docutils
8 , pygments
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-subprocess";
13   version = "1.0.1";
15   disabled = pythonOlder "3.4";
17   src = fetchFromGitHub {
18     owner = "aklajnert";
19     repo = "pytest-subprocess";
20     rev = version;
21     sha256 = "16ghwyv1vy45dd9cysjvcvvpm45958x071id2qrvgaziy2j6yx3j";
22   };
24   buildInputs = [
25     pytest
26   ];
28   checkInputs = [
29     pytestCheckHook
30     docutils
31     pygments
32   ];
34   disabledTests = [
35     "test_multiple_wait" # https://github.com/aklajnert/pytest-subprocess/issues/36
36   ];
38   meta = with lib; {
39     description = "A plugin to fake subprocess for pytest";
40     homepage = "https://github.com/aklajnert/pytest-subprocess";
41     changelog = "https://github.com/aklajnert/pytest-subprocess/blob/${version}/HISTORY.rst";
42     license = licenses.mit;
43     maintainers = with maintainers; [ dotlambda ];
44   };