anchor.diff: -{ stdenv, fetchurl, python2, git }:
  +{ stdenv, fetchFromGitHub, python2, git }:
   
   let
     name = "stgit-${version}";
  
positive.code:   doCheck = false;
    checkTarget = "test";
  
    meta = {
      homepage = http://procode.org/stgit/;
      description = "A patch manager implemented on top of Git";
      license = "GPL";
  
      maintainers = with stdenv.lib.maintainers; [ the-kenny ];
      platforms = stdenv.lib.platforms.unix;
    };
  }
  
negative.code: stdenv.mkDerivation {
    inherit name;
  
    src = fetchFromGitHub {
      owner = "ctmarinas";
      repo = "stgit";
      rev = "v${version}";
      sha256 = "0ydgg744m671nkhg7h4q2z3b9vpbc9914rbc0wcgimqfqsxkxx2y";
    };
  
    buildInputs = [ python2 git ];
  