···1# buildEnv creates a tree of symlinks to the specified paths. This is
2-# a fork of the buildEnv in the Nix distribution. Most changes should
3-# eventually be merged back into the Nix distribution.
45{ buildPackages, runCommand, lib, substituteAll }:
6
···1# buildEnv creates a tree of symlinks to the specified paths. This is
2+# a fork of the hardcoded buildEnv in the Nix distribution.
034{ buildPackages, runCommand, lib, substituteAll }:
5
···1{ lib
02, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
···55 preBuild = ''
56 export HOME=$(mktemp -d)
57 '';
00005859 # performance tests aren't useful to us and disabling them allows us to
60 # decouple ourselves from an unnecessary build dep
···1{ lib
2+, stdenv
3, buildPythonPackage
4, fetchFromGitHub
5, pythonOlder
···56 preBuild = ''
57 export HOME=$(mktemp -d)
58 '';
59+60+ # This variable is needed to suppress the "Trace/BPT trap: 5" error in Darwin's checkPhase.
61+ # Not sure of the details, but we can avoid it by changing the matplotlib backend during testing.
62+ env.MPLBACKEND = lib.optionalString stdenv.isDarwin "Agg";
6364 # performance tests aren't useful to us and disabling them allows us to
65 # decouple ourselves from an unnecessary build dep
···1{ lib
2+, stdenv
3, buildPythonPackage
4, fetchFromGitHub
5, pytestCheckHook
···42 ];
43 };
4445+ # This variable is needed to suppress the "Trace/BPT trap: 5" error in Darwin's checkPhase.
46+ # Not sure of the details, but we can avoid it by changing the matplotlib backend during testing.
47+ env.MPLBACKEND = lib.optionalString stdenv.isDarwin "Agg";
4849 nativeCheckInputs = [
50 pytestCheckHook
51+ ] ++ passthru.optional-dependencies.all;
5253 disabledTestPaths = [
54 "tests/test_spy.py" # Requires meshzoo (non-free) and pytest-codeblocks (not packaged)
···1{ lib
2+, stdenv
3, buildPythonPackage
4, fetchFromGitHub
5, flit-core
···35 numpy
36 rich
37 ];
38+39+ # This variable is needed to suppress the "Trace/BPT trap: 5" error in Darwin's checkPhase.
40+ # Not sure of the details, but we can avoid it by changing the matplotlib backend during testing.
41+ env.MPLBACKEND = lib.optionalString stdenv.isDarwin "Agg";
4243 nativeCheckInputs = [
44 pytestCheckHook
···40 homepage = "https://github.com/rmeissner/py-eth-sig-utils";
41 license = licenses.mit;
42 maintainers = with maintainers; [ SuperSandro2000 ];
43+ # TODO: upstream is stale and doesn't not work with the new `eth-abi` package any more.
44+ broken = true;
45 };
46}