summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-raisesregexp/default.nix
blob: 061812c70566f22063997394f54f26a33a79d9cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  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 = {
    description = "Simple pytest plugin to look for regex in Exceptions";
    homepage = "https://github.com/Walkman/pytest_raisesregexp";
    license = with lib.licenses; [ mit ];
  };
}