anchor.diff:      lame
       flac
       vorbis-tools
  +    (python3.withPackages (p: with p; [
  +      pillow
  +      tqdm
  +    ]))
     ];
   
     configureFlags = [
  
positive.code:     pkg-config
      which
      makeWrapper
    ];
  
    buildInputs = [
  
negative.code: , vorbis-tools
  }:
  
  stdenv.mkDerivation rec {
    pname = "uade123";
    version = "3.01";
  
    src = fetchFromGitLab {
      owner = "uade-music-player";
      repo = "uade";
      rev = "uade-${version}";
      sha256 = "0fam3g8mlzrirrac3iwcwsz9jmsqwdy7lkwwdr2q4pkq9cpmh8m5";
    };
  
    postPatch = ''
      patchShebangs configure
      substituteInPlace configure \
        --replace 'PYTHON_SETUP_ARGS=""' 'PYTHON_SETUP_ARGS="--prefix=$out"'
      substituteInPlace src/frontends/mod2ogg/mod2ogg2.sh.in \
        --replace '-e stat' '-n stat' \
        --replace '/usr/local' "$out"
  