depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-raisesregexp/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

32 lines
576 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
py,
pytest,
}:
buildPythonPackage rec {
pname = "pytest-raisesregexp";
version = "2.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-tUNySU/B8ROIsbk0ius2tpYJaZ649G4OAQr8cz14I2o=";
};
build-system = [ setuptools ];
buildInputs = [
py
pytest
];
meta = with lib; {
description = "Simple pytest plugin to look for regex in Exceptions";
homepage = "https://github.com/Walkman/pytest_raisesregexp";
license = with licenses; [ mit ];
};
}