about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/mopidy/gmusic.nix
blob: 8c173140efd8fd42636be5505934f9b9d1c52f28 (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
24
25
26
27
28
{ stdenv, fetchurl, pythonPackages, mopidy }:

pythonPackages.buildPythonApplication rec {
  pname = "mopidy-gmusic";
  version = "3.0.0";

  src = fetchurl {
    url = "https://github.com/mopidy/mopidy-gmusic/archive/v${version}.tar.gz";
    sha256 = "0a2s4xrrhnkv85rx4w5bj6ih9xm34jy0q71fdvbzmi827g9dw5sz";
  };

  propagatedBuildInputs = [
    mopidy
    pythonPackages.requests
    pythonPackages.gmusicapi
    pythonPackages.cachetools
  ];

  doCheck = false;

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