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: { lib
  , mkDerivationWith
  , python3Packages
  , wrapQtAppsHook
  , ffmpeg
  , qtbase
  
negative.code: 
  mkDerivationWith python3Packages.buildPythonApplication rec {
    pname = "corrscope";
    version = "0.7.1";
  
    src = fetchFromGitHub {
      owner = "corrscope";
      repo = "corrscope";
      rev = version;
      sha256 = "0c9kmrw6pcda68li04b5j2kmsgdw1q463qlc32wn96zn9hl82v6m";
    };
  
    format = "pyproject";
  
    patches = [
      # Remove when bumping past 0.7.1
      (fetchpatch {
        name = "0001-Use-poetry-core.patch";
        url = "https://github.com/corrscope/corrscope/commit/d40d1846dd54b8bccd7b8055d6aece48aacbb943.patch";
        sha256 = "0xxsbmxdbh3agfm6ww3rpa7ab0ysppan490w0gaqwmwzrxmmdljv";
      })
    ];
  
    nativeBuildInputs = [ wrapQtAppsHook ];
  
    buildInputs = [ ffmpeg qtbase ];
  
    propagatedBuildInputs = with python3Packages; [ appdirs atomicwrites attrs click matplotlib numpy poetry-core pyqt5 ruamel_yaml ];
  
    dontWrapQtApps = true;
  
  