about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/mopidy/spotify.nix
blob: a01bf6c80d3d22a9dccb0c95f8dbc20f439bd270 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, python3Packages, mopidy }:

python3Packages.buildPythonApplication rec {
  pname = "mopidy-spotify";
  version = "4.0.1";

  src = fetchurl {
    url = "https://github.com/mopidy/mopidy-spotify/archive/v${version}.tar.gz";
    sha256 = "1ac8r8050i5r3ag1hlblbcyskqjqz7wgamndbzsmw52qi6hxk44f";
  };

  propagatedBuildInputs = [ mopidy python3Packages.pyspotify ];

  doCheck = false;

  meta = with stdenv.lib; {
    homepage = https://www.mopidy.com/;
    description = "Mopidy extension for playing music from Spotify";
    license = licenses.asl20;
    maintainers = [];
    hydraPlatforms = [];
  };
}