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