2020-03-27 03:55:34 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage }:
|
2017-09-17 08:59:56 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "faulthandler";
|
2020-03-27 03:55:34 +00:00
|
|
|
version = "3.2";
|
2017-09-17 08:59:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-27 03:55:34 +00:00
|
|
|
sha256 = "08ybjjdrfp01syckksxzivqhn6b0yhmc17kdxh77h0lg6rvgvk8y";
|
2017-09-17 08:59:56 +01:00
|
|
|
};
|
|
|
|
|
2020-03-27 03:55:34 +00:00
|
|
|
# This may be papering over a real failure where the env var activation route
|
|
|
|
# for faulthandler does not appear to work. That said, since all other tests
|
|
|
|
# pass and since this module is python 2 only (it was upstreamed into the
|
|
|
|
# interpreter itself as of python 3.3 and is disabled ) this just disables the
|
|
|
|
# test to fix the build. From inspecting Hydra logs and git bisect, the commit
|
|
|
|
# that broke it is this one:
|
|
|
|
# https://github.com/NixOS/nixpkgs/commit/90be4c2c7875c9487508d95b5c638d97e2903ada
|
|
|
|
patches = [ ./disable-env-test.patch ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2017-09-17 08:59:56 +01:00
|
|
|
description = "Dump the Python traceback";
|
2020-03-27 03:55:34 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ sauyon ];
|
|
|
|
homepage = "https://faulthandler.readthedocs.io/";
|
2017-09-17 08:59:56 +01:00
|
|
|
};
|
|
|
|
}
|