evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pytest-subprocess / default.nix
blobe4eec03171ba9ac2bb6b33b136f821d42f996b58
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   setuptools,
7   pytest,
8   pytestCheckHook,
9   docutils,
10   pygments,
11   pytest-rerunfailures,
12   pytest-asyncio,
13   anyio,
16 buildPythonPackage rec {
17   pname = "pytest-subprocess";
18   version = "1.5.2";
19   pyproject = true;
21   disabled = pythonOlder "3.6";
23   src = fetchFromGitHub {
24     owner = "aklajnert";
25     repo = "pytest-subprocess";
26     rev = "refs/tags/${version}";
27     hash = "sha256-wEPIRWEwAiHSpcu9FMtkpAxqz64csT9AO27NDax3zNY=";
28   };
30   build-system = [ setuptools ];
32   buildInputs = [ pytest ];
34   nativeCheckInputs = [
35     pytestCheckHook
36     docutils
37     pygments
38     pytest-rerunfailures
39     pytest-asyncio
40     anyio
41   ];
43   pytestFlagsArray = [ "-W ignore::DeprecationWarning" ];
45   meta = with lib; {
46     description = "Plugin to fake subprocess for pytest";
47     homepage = "https://github.com/aklajnert/pytest-subprocess";
48     changelog = "https://github.com/aklajnert/pytest-subprocess/blob/${version}/HISTORY.rst";
49     license = licenses.mit;
50     maintainers = with maintainers; [ dotlambda ];
51   };