anchor.diff: -{ lib, stdenv
  +{ lib
  +, stdenv
   , autoconf
   , automake
   , c-ares
   , cryptopp
   , curl
   , fetchFromGitHub
  -, ffmpeg_3
  +, ffmpeg_3 # build fails with latest ffmpeg, see https://github.com/meganz/MEGAcmd/issues/523
   , freeimage
   , gcc-unwrapped
   , libmediainfo
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "megacmd";
    version = "1.2.0";
  
    src = fetchFromGitHub {
      owner = "meganz";
      repo = "MEGAcmd";
      rev = "${version}_Linux";
      sha256 = "0czyhsms0a0237d6h9b21n9p4nm4zkjanhhbvw26k6266g6c1nyr";
      fetchSubmodules = true;
    };
  
  
negative.code:     libmediainfo
      libraw
      libsodium
      libuv
      libzen
      pcre-cpp
  