1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest-asyncio 5, pytestCheckHook 6, setuptools-scm 7}: 8 9buildPythonPackage rec { 10 pname = "pytest-mock"; 11 version = "3.6.1"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "40217a058c52a63f1042f0784f62009e976ba824c418cced42e88d5f40ab0e62"; 16 }; 17 18 nativeBuildInputs = [ setuptools-scm ]; 19 20 checkInputs = [ 21 pytest-asyncio 22 pytestCheckHook 23 ]; 24 25 pythonImportsCheck = [ "pytest_mock" ]; 26 27 meta = with lib; { 28 description = "Thin-wrapper around the mock package for easier use with pytest"; 29 homepage = "https://github.com/pytest-dev/pytest-mock"; 30 license = with licenses; [ mit ]; 31 maintainers = with maintainers; [ ]; 32 }; 33}