python312Packages.pytest-responses: init at 0.5.1

This commit is contained in:
tahanonu
2024-06-27 19:01:20 +01:00
parent 74fa5706cb
commit bc28437f2c
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,38 @@
{
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
View File
@@ -12272,6 +12272,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 { };