anchor.diff:        "''${qtWrapperArgs[@]}"
       )
     '';
  -
  -  preCheck = "export HOME=$TEMP";
   
     meta = with lib; {
       description = "Render wave files into oscilloscope views, featuring advanced correlation-based triggering algorithm";
  
positive.code: 
  mkDerivationWith python3Packages.buildPythonApplication rec {
    pname = "corrscope";
    version = "0.7.0";
  
    src = python3Packages.fetchPypi {
      inherit pname version;
      sha256 = "0m62p3jlbx5dlp3j8wn1ka1sqpffsxbpsgv2h5cvj1n1lsgbss2s";
    };
  
    postPatch = ''
      substituteInPlace setup.py \
        --replace 'attrs>=18.2.0,<19.0.0' 'attrs>=18.2.0' \
        --replace 'numpy>=1.15,<2.0,!=1.19.4' 'numpy>=1.15,<2.0'
    '';
  
    nativeBuildInputs = [ wrapQtAppsHook ];
  
    buildInputs = [ ffmpeg qtbase ];
  
    propagatedBuildInputs = with python3Packages; [ appdirs attrs click matplotlib numpy pyqt5 ruamel_yaml ];
  
    dontWrapQtApps = true;
  
  
negative.code: { lib
  , mkDerivationWith
  , python3Packages
  , fetchFromGitHub
  , fetchpatch
  , wrapQtAppsHook
  , ffmpeg
  , qtbase
  