19 buildPythonPackage rec {
24 disabled = pythonOlder "3.8";
26 __darwinAllowLocalNetworking = true;
28 src = fetchFromGitHub {
32 hash = "sha256-+iRrmRAe8RWcts2LMFvykroQ5sL7+hW6Wrs7Kd1mzBM=";
35 nativeBuildInputs = [ setuptools ];
37 propagatedBuildInputs = [
50 ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
52 pythonImportsCheck = [ "responses" ];
55 description = "Python module for mocking out the requests Python library";
56 homepage = "https://github.com/getsentry/responses";
57 changelog = "https://github.com/getsentry/responses/blob/${version}/CHANGES";
58 license = licenses.asl20;
59 maintainers = with maintainers; [ fab ];