anchor.diff:  { stdenv, lib, fetchFromGitHub, cmake, boost, gmp, mpfr, libedit, python3
  -, fetchpatch, texinfo, gnused, usePython ? true }:
  +, fetchpatch, installShellFiles, texinfo, gnused, usePython ? true }:
   
   stdenv.mkDerivation rec {
     pname = "ledger";
  
positive.code: 
    installTargets = [ "doc" "install" ];
  
    meta = with lib; {
      homepage = "https://ledger-cli.org/";
      description = "A double-entry accounting system with a command-line reporting interface";
  
negative.code:     gmp mpfr libedit gnused
    ] ++ lib.optional usePython python3;
  
    nativeBuildInputs = [ cmake texinfo installShellFiles ];
  
    cmakeFlags = [
      "-DCMAKE_INSTALL_LIBDIR=lib"
  