anchor.diff:      cp lisp/magit-version.el .
     '';
   
  -  doCheck = false;  # one out of 5 tests fails, not sure why
  +  doCheck = false;  # 2 out of 15 tests fails, not sure why
     checkTarget = "test";
     preCheck = "export EMAIL='Joe Doe <joe.doe@example.org>'";
  -
  -  # postInstall = ''
  -  #   mkdir -p $out/bin
  -  #   mv "bin/"* $out/bin/
  -  # '';
   
     meta = {
       homepage = "https://github.com/magit/magit";
  
positive.code: { stdenv, fetchFromGitHub, emacs, texinfo, gitModes, git, dash }:
  
  let
    version = "2.2.1";
  in
  stdenv.mkDerivation {
    name = "magit-${version}";
  
negative.code:     owner = "magit";
      repo = "magit";
      rev = version;
      sha256 = "1zbx1ky1481lkvfjr4k23q7jdrk9ji9v5ghj88qib36vbmzfwww8";
    };
  
    buildInputs = [ emacs texinfo git ];
  