anchor.diff:      export HOME=`mktemp -d`
     '';
   
  +  passthru.tests = {
  +    chiaWithTests = chia.overrideAttrs (_: { doCheck = true; });
  +  };
  +
     meta = with lib; {
       homepage = "https://www.chia.net/";
       description = "Chia is a modern cryptocurrency built from scratch, designed to be efficient, decentralized, and secure.";
  
positive.code: , python3Packages
  }:
  
  python3Packages.buildPythonApplication rec {
    pname = "chia";
    version = "1.2.5";
  
  
negative.code:     pytestCheckHook
    ];
  
    # Testsuite is expensive and non-deterministic, so it is available in
    # passthru.tests instead.
    doCheck = false;
  
    disabledTests = [
      "test_spend_through_n"
      "test_spend_zero_coin"
  