@@ -1,34 +0,0 @@
1−{ lib
2−, buildPythonPackage
3−, fetchPypi
4−, setuptools_scm
5−, pytest
6−, pytest-mock
7−, pythonOlder
8−, faulthandler
9−}:
10−
11−buildPythonPackage rec {
12− pname = "pytest-faulthandler";
13− version = "2.0.1";
14−
15− src = fetchPypi {
16− inherit pname version;
17− sha256 = "ed72bbce87ac344da81eb7d882196a457d4a1026a3da4a57154dacd85cd71ae5";
18− };
19−
20− nativeBuildInputs = [ setuptools_scm pytest ];
21− checkInputs = [ pytest-mock ];
22− propagatedBuildInputs = lib.optional (pythonOlder "3.0") faulthandler;
23−
24− checkPhase = ''
25− py.test
26− '';
27−
28− meta = {
29− description = "Py.test plugin that activates the fault handler module for tests";
30− homepage = https://github.com/pytest-dev/pytest-faulthandler;
31− license = lib.licenses.mit;
32− maintainers = with lib.maintainers; [ costrouc ];
33− };
34−}