2021-08-17 19:47:28 +02:00
|
|
|
{ lib, fetchFromGitHub, pythonPackages, mopidy }:
|
2014-07-12 09:33:53 +02:00
|
|
|
|
2020-03-15 13:48:08 +01:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2018-06-23 15:27:58 +02:00
|
|
|
pname = "mopidy-spotify";
|
2021-08-16 16:07:24 +02:00
|
|
|
version = "4.1.1";
|
2014-07-12 09:33:53 +02:00
|
|
|
|
2021-08-17 19:47:28 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mopidy";
|
|
|
|
repo = "mopidy-spotify";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1qsac2yy26cdlsmxd523v8ayacs0s6jj9x79sngwap781i63zqrm";
|
2014-07-12 09:33:53 +02:00
|
|
|
};
|
|
|
|
|
2020-03-15 13:48:08 +01:00
|
|
|
propagatedBuildInputs = [ mopidy pythonPackages.pyspotify ];
|
2014-07-12 09:33:53 +02:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.mopidy.com/";
|
2014-11-11 14:20:43 +01:00
|
|
|
description = "Mopidy extension for playing music from Spotify";
|
2014-07-12 09:33:53 +02:00
|
|
|
license = licenses.asl20;
|
2021-08-17 19:55:36 +02:00
|
|
|
maintainers = with maintainers; [ rski ];
|
|
|
|
hydraPlatforms = [ ];
|
2014-07-12 09:33:53 +02:00
|
|
|
};
|
|
|
|
}
|