anchor.diff:  , lib
   }:
   
  -mkDerivation rec {
  +stdenv.mkDerivation rec {
     pname = "qosmic";
     version = "1.6.0";
   
  
positive.code:     })
    ];
  
    nativeBuildInputs = [ qmake wrapQtAppsHook pkg-config ];
  
    buildInputs = [
  
negative.code: 
    qmakeFlags = [
      # Use pkg-config to correctly locate library paths
      "CONFIG+=link_pkgconfig"
    ];
  
    preInstall = lib.optionalString stdenv.isDarwin ''
      mkdir -p $out/Applications
      mv qosmic.app $out/Applications
    '';
  
    meta = with lib; {
      description = "A cosmic recursive flame fractal editor";
      homepage = "https://github.com/bitsed/qosmic";
      license = licenses.gpl3Plus;
      maintainers = [ maintainers.raboof ];
      platforms = platforms.unix;
    };
  }
  