anchor.diff:      ln -s $PWD/tests/scanner/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary} $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary}
     '';
   
  -  preInstall = ''
  +  postCheck = ''
       rm $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary}
     '';
   
  
positive.code: 
    doCheck = !stdenv.isAarch64;
  
    LC_ALL = "en_US.UTF-8"; # for tests
  
    preBuild = ''
      # Our gobject-introspection patches make the shared library paths absolute
      # in the GIR files. When running tests, the library is not yet installed,
      # though, so we need to replace the absolute path with a local one during build.
  
negative.code: 
    meta = with stdenv.lib; {
      description = "A middleware layer between C libraries and language bindings";
      homepage = "https://gi.readthedocs.io/";
      maintainers = teams.gnome.members ++ (with maintainers; [ lovek323 ]);
      platforms = platforms.unix;
      license = with licenses; [ gpl2 lgpl2 ];
  
  