python3Packages.pytest-raises: init at 0.11
This commit is contained in:
parent
cf42b2eb0f
commit
61f566d45b
2 changed files with 36 additions and 0 deletions
30
pkgs/development/python-modules/pytest-raises/default.nix
Normal file
30
pkgs/development/python-modules/pytest-raises/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-raises";
|
||||||
|
version = "0.11";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Lemmons";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0gbb4kml2qv7flp66i73mgb4qihdaybb6c96b5dw3mhydhymcsy2";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pytest_raises" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An implementation of pytest.raises as a pytest.mark fixture";
|
||||||
|
homepage = "https://github.com/Lemmons/pytest-raises";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -236,6 +236,8 @@ in {
|
||||||
|
|
||||||
aiocontextvars = callPackage ../development/python-modules/aiocontextvars { };
|
aiocontextvars = callPackage ../development/python-modules/aiocontextvars { };
|
||||||
|
|
||||||
|
aiodiscover = callPackage ../development/python-modules/aiodiscover { };
|
||||||
|
|
||||||
aiodns = callPackage ../development/python-modules/aiodns { };
|
aiodns = callPackage ../development/python-modules/aiodns { };
|
||||||
|
|
||||||
aioeafm = callPackage ../development/python-modules/aioeafm { };
|
aioeafm = callPackage ../development/python-modules/aioeafm { };
|
||||||
|
@ -538,6 +540,8 @@ in {
|
||||||
|
|
||||||
async_generator = callPackage ../development/python-modules/async_generator { };
|
async_generator = callPackage ../development/python-modules/async_generator { };
|
||||||
|
|
||||||
|
async-dns = callPackage ../development/python-modules/async-dns { };
|
||||||
|
|
||||||
asyncio-dgram = callPackage ../development/python-modules/asyncio-dgram { };
|
asyncio-dgram = callPackage ../development/python-modules/asyncio-dgram { };
|
||||||
|
|
||||||
asyncio-mqtt = callPackage ../development/python-modules/asyncio_mqtt { };
|
asyncio-mqtt = callPackage ../development/python-modules/asyncio_mqtt { };
|
||||||
|
@ -6567,6 +6571,8 @@ in {
|
||||||
pytest-quickcheck = self.pytestquickcheck;
|
pytest-quickcheck = self.pytestquickcheck;
|
||||||
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
|
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
|
||||||
|
|
||||||
|
pytest-raises = callPackage ../development/python-modules/pytest-raises { };
|
||||||
|
|
||||||
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
|
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
|
||||||
|
|
||||||
pytest-randomly = callPackage ../development/python-modules/pytest-randomly { };
|
pytest-randomly = callPackage ../development/python-modules/pytest-randomly { };
|
||||||
|
|
Loading…
Reference in a new issue