python3Packages.pytest-raisin: init at 0.3

This commit is contained in:
Aadi Bajpai 2021-12-25 00:23:40 -06:00 committed by Ben Siraphob
parent 6ba4cef768
commit 305cfd9872
No known key found for this signature in database
GPG key ID: 45F0E5D788143267
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pytest
}:
buildPythonPackage rec {
pname = "pytest-raisin";
version = "0.3";
format = "flit";
src = fetchFromGitHub {
owner = "wimglenn";
repo = "pytest-raisin";
rev = "v${version}";
sha256 = "73cOrsqlE04m6X3a6VwtRzfi24oqkdO3HjKQH61bU88=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
pytest
];
# tests cause circular pytest-raisin already registered with pytest error
doCheck = false;
meta = with lib; {
description = "Plugin enabling the use of exception instances with pytest.raises context";
homepage = "https://github.com/wimglenn/pytest-raisin";
license = licenses.mit;
maintainers = with maintainers; [ aadibajpai ];
};
}

View file

@ -7605,6 +7605,8 @@ in {
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
pytest-raisin = callPackage ../development/python-modules/pytest-raisin { };
pytest-randomly = callPackage ../development/python-modules/pytest-randomly { };
pytest-random-order = callPackage ../development/python-modules/pytest-random-order { };