evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pytest-instafail / default.nix
blob9afcd14deb179c04a37166e43655a1ed6fc12c7c
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytest,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "pytest-instafail";
12   version = "0.5.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-M6YG9+DI5kbcO/7g1eOkt7eO98NhaM+h89k698pwbJ4=";
20   };
22   buildInputs = [ pytest ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [ "pytest_instafail" ];
28   meta = with lib; {
29     description = "pytest plugin that shows failures and errors instantly instead of waiting until the end of test session";
30     homepage = "https://github.com/pytest-dev/pytest-instafail";
31     changelog = "https://github.com/pytest-dev/pytest-instafail/blob/v${version}/CHANGES.rst";
32     license = licenses.bsd3;
33     maintainers = with maintainers; [ jacg ];
34   };