anchor.diff:  }:
   
   stdenv.mkDerivation rec {
  -  name = "bc-1.06.95";
  +  name = "bc-1.07";
   
     src = fetchurl {
  -    url = "http://alpha.gnu.org/gnu/bc/${name}.tar.bz2";
  -    multihash = "QmRDA6WLGngZ78WHmgJQrRgkkdkytf73iGVQPRe2MDJsUf";
  -    sha256 = "1k2yf9bhjxjwfhz0d1c5hmmrs8rxi9al0d4a39p8lgf0zayapr3y";
  +    url = "mirror://gnu/bc/${name}.tar.gz";
  +    hashOutput = false;
  +    sha256 = "55cf1fc33a728d7c3d386cc7b0cb556eb5bacf8e0cb5a3fcca7f109fc61205ad";
     };
   
     nativeBuildInputs = [
  -    bison
  +    ed
       flex
     ];
   
     buildInputs = [
  +    flex
       ncurses
       readline
     ];
   
     patches = [
       (fetchTritonPatch {
  -      rev = "4eaff4fc1ef159416bd98cf46c56dafa9d755a7a";
  -      file = "bc/bc-1.06-mem-leak.patch";
  -      sha256 = "27e30d0389b79556609a74a4bb2a19f208f0e527bf08357ad79e0f453f15ac17";
  -    })
  -    (fetchTritonPatch {
  -      rev = "4eaff4fc1ef159416bd98cf46c56dafa9d755a7a";
  -      file = "bc/bc-1.06-void_uninitialized.patch";
  -      sha256 = "cb210e21f6a9ab5cac591259b1649120b0b74a722dc02ec17cb09bc9a19f3b8a";
  +      rev = "f7da28f32f73a7a392b4f4bd0fbeb90e17fdbad0";
  +      file = "b/bc/fix-hang.patch";
  +      sha256 = "64719ac2d2a1622c241f5647973122d3ca742a28649875cd29ee957bf383dc38";
       })
     ];
   
  
positive.code:     "--with-readline"
    ];
  
    postConfigure =
      /* Don't regen docs -- configure produces a small fragment
         that includes the version info which causes all pages to
         regen (newer file). */ ''
      	touch -r doc doc/*
      '';
  
    postBuild =
      /* Simple test */ ''
        echo "quit" | ./bc/bc -l Test/checklib.b
      '';
  
    doCheck = true;
  
    meta = with stdenv.lib; {
      description = "GNU software calculator";
  
negative.code: { stdenv
  , ed
  , fetchTritonPatch
  , fetchurl
  , flex
  