1{ buildPythonPackage 2, lib 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 pname = "pluggy"; 9 version = "0.6.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff"; 14 }; 15 16 checkPhase = '' 17 py.test 18 ''; 19 20 # To prevent infinite recursion with pytest 21 doCheck = false; 22 23 meta = { 24 description = "Plugin and hook calling mechanisms for Python"; 25 homepage = "https://pypi.python.org/pypi/pluggy"; 26 license = lib.licenses.mit; 27 maintainers = with lib.maintainers; [ jgeerds ]; 28 }; 29}