Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 62 lines 977 B view raw
1{ 2 lib, 3 isPyPy, 4 buildPythonPackage, 5 pytest-fixture-config, 6 7 # build-time 8 setuptools, 9 setuptools-git, 10 11 # runtime 12 pytest, 13 mock, 14 path, 15 execnet, 16 termcolor, 17 six, 18 19 # tests 20 pytestCheckHook, 21}: 22 23buildPythonPackage { 24 pname = "pytest-shutil"; 25 inherit (pytest-fixture-config) version src patches; 26 pyproject = true; 27 28 postPatch = '' 29 cd pytest-shutil 30 ''; 31 32 build-system = [ 33 setuptools 34 setuptools-git 35 ]; 36 37 buildInputs = [ pytest ]; 38 39 dependencies = [ 40 mock 41 path 42 execnet 43 termcolor 44 six 45 ]; 46 47 nativeCheckInputs = [ pytestCheckHook ]; 48 49 disabledTests = 50 [ "test_pretty_formatter" ] 51 ++ lib.optionals isPyPy [ 52 "test_run" 53 "test_run_integration" 54 ]; 55 56 meta = with lib; { 57 description = "Goodie-bag of unix shell and environment tools for py.test"; 58 homepage = "https://github.com/manahl/pytest-plugins"; 59 maintainers = with maintainers; [ ryansydnor ]; 60 license = licenses.mit; 61 }; 62}