mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-01 09:30:20 +02:00
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:
parent
643d10295d
commit
f5ffd143d6
|
@ -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 ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -2399,8 +2399,6 @@ in {
|
||||||
|
|
||||||
pytest-doctestplus = callPackage ../development/python-modules/pytest-doctestplus { };
|
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-fixture-config = callPackage ../development/python-modules/pytest-fixture-config { };
|
||||||
|
|
||||||
pytest-forked = callPackage ../development/python-modules/pytest-forked { };
|
pytest-forked = callPackage ../development/python-modules/pytest-forked { };
|
||||||
|
|
Loading…
Reference in a new issue