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