summary refs log tree commit diff
path: root/pkgs/applications/audio/mopidy/scrobbler.nix
blob: 621ced53646ab0d674ba6ab5fc6871e423ae6c50 (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
{ lib, python3Packages, mopidy }:

python3Packages.buildPythonApplication rec {
  pname = "Mopidy-Scrobbler";
  version = "2.0.1";

  src = python3Packages.fetchPypi {
    inherit pname version;
    sha256 = "11vxgax4xgkggnq4fr1rh2rcvzspkkimck5p3h4phdj3qpnj0680";
  };

  propagatedBuildInputs = with python3Packages; [ mopidy pylast ];

  # no tests implemented
  doCheck = false;
  pythonImportsCheck = [ "mopidy_scrobbler" ];

  meta = with lib; {
    homepage = "https://github.com/mopidy/mopidy-scrobbler";
    description = "Mopidy extension for scrobbling played tracks to Last.fm.";
    license = licenses.asl20;
    maintainers = with maintainers; [ jakeisnt ];
  };
}