1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitHub 5, pytest 6, pytestCheckHook 7, docutils 8, pygments 9, pytest-rerunfailures 10, pytest-asyncio 11, anyio 12}: 13 14buildPythonPackage rec { 15 pname = "pytest-subprocess"; 16 version = "1.5.0"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "aklajnert"; 22 repo = "pytest-subprocess"; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-u9d9RhbikOyknMWs18j2efYJb9YdHsQrp31LfcbudoA="; 25 }; 26 27 buildInputs = [ 28 pytest 29 ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 docutils 34 pygments 35 pytest-rerunfailures 36 pytest-asyncio 37 anyio 38 ]; 39 40 meta = with lib; { 41 description = "A plugin to fake subprocess for pytest"; 42 homepage = "https://github.com/aklajnert/pytest-subprocess"; 43 changelog = "https://github.com/aklajnert/pytest-subprocess/blob/${version}/HISTORY.rst"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ dotlambda ]; 46 }; 47}