diff options
author | jakeisnt <jakechv@github.com> | 2020-12-31 16:53:38 -0800 |
---|---|---|
committer | jakeisnt <jakechv@github.com> | 2020-12-31 16:55:44 -0800 |
commit | c3920418a566cfeb041622be2242b6fbd40e58eb (patch) | |
tree | 5e8e64cb5c566aa1151c151f1b8044e1708f1a7c | |
parent | 657c280e483214939245aef90fbb999f6b5bdbe3 (diff) |
mopidy-scrobbler: init at 2.0.1
-rw-r--r-- | pkgs/applications/audio/mopidy/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/mopidy/scrobbler.nix | 24 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 1 |
3 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mopidy/default.nix b/pkgs/applications/audio/mopidy/default.nix index b7e6b8c19c0c..f4d4e416de40 100644 --- a/pkgs/applications/audio/mopidy/default.nix +++ b/pkgs/applications/audio/mopidy/default.nix @@ -28,6 +28,8 @@ let mopidy-musicbox-webclient = callPackage ./musicbox-webclient.nix { }; + mopidy-scrobbler = callPackage ./scrobbler.nix { }; + mopidy-somafm = callPackage ./somafm.nix { }; mopidy-soundcloud = callPackage ./soundcloud.nix { }; diff --git a/pkgs/applications/audio/mopidy/scrobbler.nix b/pkgs/applications/audio/mopidy/scrobbler.nix new file mode 100644 index 000000000000..19c5a29c8a47 --- /dev/null +++ b/pkgs/applications/audio/mopidy/scrobbler.nix @@ -0,0 +1,24 @@ +{ stdenv, 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 stdenv.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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d7c9bf7f5370..e85d7fb78d5b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22913,6 +22913,7 @@ in mopidy-mpd mopidy-mpris mopidy-musicbox-webclient + mopidy-scrobbler mopidy-somafm mopidy-soundcloud mopidy-spotify |