anchor.diff:      xorg.libXScrnSaver
       xorg.libXtst
       xorg.libxcb
  +    xorg.libSM
  +    xorg.libICE
       zlib
     ];
   
  
positive.code:   # If an update breaks things, one of those might have valuable info:
    # https://aur.archlinux.org/packages/spotify/
    # https://community.spotify.com/t5/Desktop-Linux
    version = "1.1.10.546.ge08ef575-19";
    # To get the latest stable revision:
    # curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=stable' | jq '.download_url,.version,.last_updated'
    # To get general information:
    # curl -H 'Snap-Device-Series: 16' 'https://api.snapcraft.io/v2/snaps/info/spotify' | jq '.'
    # More examples of api usage:
    # https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py
    rev = "36";
  
  
    deps = [
  
negative.code:   # https://community.spotify.com/t5/Desktop-Linux/Redistribute-Spotify-on-Linux-Distributions/td-p/1695334
    src = fetchurl {
      url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap";
      sha512 = "41bc8d20388bab39058d0709d99b1c8e324ea37af217620797356b8bc0b24aedbe801eaaa6e00a93e94e26765602e5dc27ad423ce2e777b4bec1b92daf04f81e";
    };
  
    buildInputs = [ squashfsTools makeWrapper ];
  