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 /pkgs/applications/audio | |
parent | 657c280e483214939245aef90fbb999f6b5bdbe3 (diff) |
mopidy-scrobbler: init at 2.0.1
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/mopidy/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/mopidy/scrobbler.nix | 24 |
2 files changed, 26 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 ]; + }; +} |