anchor.diff:        codyopel
       ];
       platforms = [
  -      "i686-linux"
         "x86_64-linux"
       ];
     };
  
positive.code: 
    postPatch = ''
      sed -i -e '/assertIn.*item.*path/d' test/test_info.py
      echo echo completion tests passed > test/test_completion.sh
  
      sed -i -e '/^BASH_COMPLETION_PATHS *=/,/^])$/ {
        /^])$/i u"${completion}"
  
negative.code: 
  in buildPythonPackage rec {
    name = "beets-${version}";
    version = "1.3.17";
    namePrefix = "";
  
    src = fetchFromGitHub {
      owner = "sampsyo";
      repo = "beets";
      rev = "v${version}";
      sha256 = "1fskxx5xxjqf4xmfjrinh7idjiq6qncb24hiyccv09l47fr1yipc";
    };
  
    nativeBuildInputs = [
      makeWrapper
    ];
  
    propagatedBuildInputs = [
      pythonPackages.enum34
      pythonPackages.jellyfish
      pythonPackages.munkres
      pythonPackages.musicbrainzngs
      pythonPackages.mutagen
      pythonPackages.pathlib
      pythonPackages.pyyaml
      pythonPackages.unidecode
    ] ++ optional enableAcoustid pythonPackages.pyacoustid
      ++ optional (
        enableFetchart
        || enableEmbyUpdate
        || enableAcousticbrainz) pythonPackages.requests2
      ++ optional enableDiscogs pythonPackages.discogs_client
      ++ optional enableEchonest pythonPackages.pyechonest
      ++ optional enableLastfm pythonPackages.pylast
      ++ optional enableMpd pythonPackages.mpd
      ++ optional enableThumbnails pythonPackages.pyxdg
      ++ optional enableWeb pythonPackages.flask
      ++ optional enableAlternatives (import ./alternatives-plugin.nix {
        inherit stdenv buildPythonPackage pythonPackages fetchFromGitHub;
      });
  
    buildInputs = with pythonPackages; [
      beautifulsoup4
      imagemagick
      mock
      nose
      rarfile
      responses
    ] ++ optionals enableBpd [
      gst-plugins-base_0
      gstreamer_0
    ];
  
    patches = [
      (fetchTritonPatch {
  