python2Packages.pytest-faulthandler: remove package

This has been upstreamed into pytest itself as of pytest 5.0, which we have:
https://github.com/pytest-dev/pytest-faulthandler

Since it should no longer be used, let's remove from nix.
This commit is contained in:
Benjamin Hipple 2020-03-27 00:34:36 -04:00 committed by Jon
parent 643d10295d
commit f5ffd143d6
2 changed files with 0 additions and 36 deletions

View file

@ -1,34 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytest
, pytest-mock
, pythonOlder
, faulthandler
}:
buildPythonPackage rec {
pname = "pytest-faulthandler";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "ed72bbce87ac344da81eb7d882196a457d4a1026a3da4a57154dacd85cd71ae5";
};
nativeBuildInputs = [ setuptools_scm pytest ];
checkInputs = [ pytest-mock ];
propagatedBuildInputs = lib.optional (pythonOlder "3.0") faulthandler;
checkPhase = ''
py.test
'';
meta = {
description = "Py.test plugin that activates the fault handler module for tests";
homepage = https://github.com/pytest-dev/pytest-faulthandler;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ costrouc ];
};
}

View file

@ -2399,8 +2399,6 @@ in {
pytest-doctestplus = callPackage ../development/python-modules/pytest-doctestplus { };
pytest-faulthandler = callPackage ../development/python-modules/pytest-faulthandler { };
pytest-fixture-config = callPackage ../development/python-modules/pytest-fixture-config { };
pytest-forked = callPackage ../development/python-modules/pytest-forked { };