nixpkgs/pkgs/development/python-modules/pytest-instafail/default.nix
Jacek Generowicz f4213717f5
pythonPackages.pytest-instafail: init at 0.4.2 (#110138)
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
2021-01-20 15:11:15 +01:00

25 lines
629 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-instafail";
version = "0.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "10lpr6mjcinabqynj6v85bvb1xmapnhqmg50nys1r6hg7zgky9qr";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_instafail" ];
meta = {
description = "pytest plugin that shows failures and errors instantly instead of waiting until the end of test session";
homepage = "https://github.com/pytest-dev/pytest-instafail";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.jacg ];
};
}