···11# buildEnv creates a tree of symlinks to the specified paths. This is
22-# a fork of the buildEnv in the Nix distribution. Most changes should
33-# eventually be merged back into the Nix distribution.
22+# a fork of the hardcoded buildEnv in the Nix distribution.
4354{ buildPackages, runCommand, lib, substituteAll }:
65
···11{ lib
22+, stdenv
23, buildPythonPackage
34, fetchFromGitHub
45, pythonOlder
···5556 preBuild = ''
5657 export HOME=$(mktemp -d)
5758 '';
5959+6060+ # This variable is needed to suppress the "Trace/BPT trap: 5" error in Darwin's checkPhase.
6161+ # Not sure of the details, but we can avoid it by changing the matplotlib backend during testing.
6262+ env.MPLBACKEND = lib.optionalString stdenv.isDarwin "Agg";
58635964 # performance tests aren't useful to us and disabling them allows us to
6065 # decouple ourselves from an unnecessary build dep
···11{ lib
22+, stdenv
23, buildPythonPackage
34, fetchFromGitHub
45, flit-core
···3435 numpy
3536 rich
3637 ];
3838+3939+ # This variable is needed to suppress the "Trace/BPT trap: 5" error in Darwin's checkPhase.
4040+ # Not sure of the details, but we can avoid it by changing the matplotlib backend during testing.
4141+ env.MPLBACKEND = lib.optionalString stdenv.isDarwin "Agg";
37423843 nativeCheckInputs = [
3944 pytestCheckHook
···4040 homepage = "https://github.com/rmeissner/py-eth-sig-utils";
4141 license = licenses.mit;
4242 maintainers = with maintainers; [ SuperSandro2000 ];
4343+ # TODO: upstream is stale and doesn't not work with the new `eth-abi` package any more.
4444+ broken = true;
4345 };
4446}