anchor.diff:        rm *
         mv .exiv2 exiv2
       )
  +
  +    mkdir -p $static/lib
  +    mv $lib/lib/*.a $static/lib/
  +
  +    remove-references-to -t ${stdenv.cc.cc} $lib/lib/*.so.*.*.* $out/bin/exiv2 $static/lib/*.a
     '';
  +
  +  disallowedReferences = [ stdenv.cc.cc ];
   
     meta = with lib; {
       homepage = "https://www.exiv2.org/";
  
positive.code: , graphviz
  , libxslt
  , libiconv
  }:
  
  stdenv.mkDerivation rec {
    pname = "exiv2";
    version = "0.27.4";
  
    outputs = [ "out" "dev" "doc" "man" ];
  
    src = fetchFromGitHub {
      owner = "exiv2";
  
negative.code:     gettext
      graphviz
      libxslt
      removeReferencesTo
    ];
  
    buildInputs = lib.optional stdenv.isDarwin libiconv;
  