blob: a8d167279d4f8cfe49212915ba9378cde706bc3f (
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
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit,
pytest,
}:
buildPythonPackage rec {
pname = "pytest-raisin";
version = "0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "wimglenn";
repo = "pytest-raisin";
rev = "v${version}";
hash = "sha256-BI0SWy671DYDTPH4iO811ku6SzpH4ho7eQFUA8PmxW8=";
};
nativeBuildInputs = [ flit ];
propagatedBuildInputs = [ pytest ];
# tests cause circular pytest-raisin already registered with pytest error
doCheck = false;
meta = {
description = "Plugin enabling the use of exception instances with pytest.raises context";
homepage = "https://github.com/wimglenn/pytest-raisin";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aadibajpai ];
};
}
|