Merge pull request #321862 from Tochiaha/pytest-responses
python312Packages.pytest-responses: init at 0.5.1
This commit is contained in:
commit
ab0b07ea43
38
pkgs/development/python-modules/pytest-responses/default.nix
Normal file
38
pkgs/development/python-modules/pytest-responses/default.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user