depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-responses/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

38 lines
889 B
Nix

{
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";
};
}