Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 45 lines 940 B view raw
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.1.0"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "aklajnert"; 19 repo = "pytest-subprocess"; 20 rev = version; 21 sha256 = "sha256-r6WNDdvZAHMG1kPtLJlCwvhbVG1gC1NEvRfta+Chxnk="; 22 }; 23 24 buildInputs = [ 25 pytest 26 ]; 27 28 checkInputs = [ 29 pytestCheckHook 30 docutils 31 pygments 32 ]; 33 34 disabledTests = [ 35 "test_multiple_wait" # https://github.com/aklajnert/pytest-subprocess/issues/36 36 ]; 37 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 }; 45}