Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pytest-raisin / default.nix
blob2da96d21c9ea3b88d08676aab390afacc10d8c13
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flit
5 , pytest
6 }:
8 buildPythonPackage rec {
9   pname = "pytest-raisin";
10   version = "0.4";
11   format = "pyproject";
13   src = fetchFromGitHub {
14     owner = "wimglenn";
15     repo = "pytest-raisin";
16     rev = "v${version}";
17     hash = "sha256-BI0SWy671DYDTPH4iO811ku6SzpH4ho7eQFUA8PmxW8=";
18   };
20   nativeBuildInputs = [
21     flit
22   ];
24   propagatedBuildInputs = [
25     pytest
26   ];
28   # tests cause circular pytest-raisin already registered with pytest error
29   doCheck = false;
31   meta = with lib; {
32     description = "Plugin enabling the use of exception instances with pytest.raises context";
33     homepage = "https://github.com/wimglenn/pytest-raisin";
34     license = licenses.mit;
35     maintainers = with maintainers; [ aadibajpai ];
36   };