Unverified Commit ab0b07ea authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #321862 from Tochiaha/pytest-responses

python312Packages.pytest-responses: init at 0.5.1
parents b797a7d4 bc28437f
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
  responses,
}:

buildPythonPackage rec {
  pname = "pytest-responses";
  version = "0.5.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "getsentry";
    repo = "pytest-responses";
    rev = "refs/tags/${version}";
    hash = "sha256-6QAiNWCJbo4rmaByrc8VNw39/eF3uqFOss3GJuCvpZg=";
  };

  build-system = [ setuptools ];

  dependencies = [ responses ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "pytest_responses" ];

  meta = {
    description = "Plugin for py.test response";
    homepage = "https://github.com/getsentry/pytest-responses";
    changelog = "https://github.com/getsentry/pytest-responses/blob/${version}/CHANGES";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ tochiaha ];
    mainProgram = "pytest-reponses";
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -12362,6 +12362,8 @@ self: super: with self; {
  pytest-resource-path = callPackage ../development/python-modules/pytest-resource-path { };
  pytest-responses = callPackage ../development/python-modules/pytest-responses { };
  pytest-runner = callPackage ../development/python-modules/pytest-runner { };
  pytest-server-fixtures = callPackage ../development/python-modules/pytest-server-fixtures { };