git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.pytest-instafail: init at 0.4.2 (#110138)

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>

commitf4213717f5952342b2981515ac700f1212c321cb authorJacek Generowicz <jacg@my-post-office.net> dateWed 20 Jan 2021, 15:11 (6 years ago) parent1cd0cd0
2 files changed+26
pkgs/development/python-modules/pytest-instafail/default.nix+24 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/pytest-instafail/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ buildPythonPackage
2+, fetchPypi
3+, lib
4+, pytestCheckHook
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "pytest-instafail";
9+ version = "0.4.2";
10+
11+ src = fetchPypi {
12+ inherit pname version;
13+ sha256 = "10lpr6mjcinabqynj6v85bvb1xmapnhqmg50nys1r6hg7zgky9qr";
14+ };
15+
16+ checkInputs = [ pytestCheckHook ];
17+ pythonImportsCheck = [ "pytest_instafail" ];
18+ meta = {
19+ description = "pytest plugin that shows failures and errors instantly instead of waiting until the end of test session";
20+ homepage = "https://github.com/pytest-dev/pytest-instafail";
21+ license = lib.licenses.bsd3;
22+ maintainers = [ lib.maintainers.jacg ];
23+ };
24+}
pkgs/top-level/python-packages.nix+2
@@ -6033,6 +6033,8 @@ in {
60336033
60346034 pytest-httpbin = callPackage ../development/python-modules/pytest-httpbin { };
60356035
6036+ pytest-instafail = callPackage ../development/python-modules/pytest-instafail { };
6037+
60366038 pytest-isort = callPackage ../development/python-modules/pytest-isort { };
60376039
60386040 pytest-lazy-fixture = callPackage ../development/python-modules/pytest-lazy-fixture { };