anchor.diff: -{ stdenv, fetchgit, pkgconfig, cmake
  +{ stdenv, fetchFromGitHub, pkgconfig, cmake
   , libjpeg ? null
   , zlib ? null
   , libpng ? null
  
positive.code: , enableDocs ? false }:
  
  stdenv.mkDerivation rec {
    version = "1.3";
    pname = "openmvg";
  
    src = fetchgit {
      url = "https://www.github.com/openmvg/openmvg.git";
  
      # Tag v1.1
      rev = "refs/tags/v${version}";
      sha256 = "1cf1gbcl8zvxp4rr6f6vaxwcg0yzc4xban2b5p9zy1m4k1f81zyb";
      fetchSubmodules = true;
    };
  
  
negative.code:     license = stdenv.lib.licenses.mpl20;
      platforms = stdenv.lib.platforms.linux;
      maintainers = with stdenv.lib.maintainers; [ mdaiter ];
    };
  }
  