1{ lib, fetchPypi, buildPythonPackage }: 2 3buildPythonPackage rec { 4 pname = "faulthandler"; 5 version = "3.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "08ybjjdrfp01syckksxzivqhn6b0yhmc17kdxh77h0lg6rvgvk8y"; 10 }; 11 12 # This may be papering over a real failure where the env var activation route 13 # for faulthandler does not appear to work. That said, since all other tests 14 # pass and since this module is python 2 only (it was upstreamed into the 15 # interpreter itself as of python 3.3 and is disabled ) this just disables the 16 # test to fix the build. From inspecting Hydra logs and git bisect, the commit 17 # that broke it is this one: 18 # https://github.com/NixOS/nixpkgs/commit/90be4c2c7875c9487508d95b5c638d97e2903ada 19 patches = [ ./disable-env-test.patch ]; 20 21 meta = with lib; { 22 description = "Dump the Python traceback"; 23 license = licenses.bsd2; 24 maintainers = with maintainers; [ sauyon ]; 25 homepage = "https://faulthandler.readthedocs.io/"; 26 }; 27}