1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7 responses, 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-responses"; 12 version = "0.5.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "getsentry"; 17 repo = "pytest-responses"; 18 tag = version; 19 hash = "sha256-6QAiNWCJbo4rmaByrc8VNw39/eF3uqFOss3GJuCvpZg="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ responses ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "pytest_responses" ]; 29 30 meta = { 31 description = "Plugin for py.test response"; 32 homepage = "https://github.com/getsentry/pytest-responses"; 33 changelog = "https://github.com/getsentry/pytest-responses/blob/${version}/CHANGES"; 34 license = lib.licenses.asl20; 35 maintainers = with lib.maintainers; [ tochiaha ]; 36 mainProgram = "pytest-reponses"; 37 }; 38}