1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 py,
7 pytest,
8}:
9
10buildPythonPackage rec {
11 pname = "pytest-raisesregexp";
12 version = "2.1";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-tUNySU/B8ROIsbk0ius2tpYJaZ649G4OAQr8cz14I2o=";
18 };
19
20 build-system = [ setuptools ];
21
22 buildInputs = [
23 py
24 pytest
25 ];
26
27 meta = with lib; {
28 description = "Simple pytest plugin to look for regex in Exceptions";
29 homepage = "https://github.com/Walkman/pytest_raisesregexp";
30 license = with licenses; [ mit ];
31 };
32}