anchor.diff:    checkPhase = ''
       runHook preCheck
   
  +    LANG=en_US.UTF-8 \
  +    LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive \
       BEETS_TEST_SHELL="${testShell}" \
       BASH_COMPLETION_SCRIPT="${completion}" \
       HOME="$(mktemp -d)" \
  
positive.code: 
  in buildPythonPackage rec {
    name = "beets-${version}";
    version = "1.3.10";
    namePrefix = "";
  
    src = fetchFromGitHub {
      owner = "sampsyo";
      repo = "beets";
      rev = "v${version}";
      sha256 = "136rvzpygjym6hxq19qwiri5jxx718bbmi471mvc3vibrb7xj1sr";
    };
  
    propagatedBuildInputs = [
  
negative.code:     runHook postInstallCheck
    '';
  
    LANG = null;
  
    meta = {
      homepage = http://beets.radbox.org;
      description = "Music tagger and library organizer";
      license = stdenv.lib.licenses.mit;
      maintainers = with stdenv.lib.maintainers; [ iElectric aszlig pjones ];
    };
  }
  