pkgs/mopidy-listenbrainz: init at 0.3.0

This commit is contained in:
Gabriel Arazas 2024-09-12 14:33:00 +08:00
parent 83bb89b33a
commit 5ca82e5d21
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 26 additions and 0 deletions

View File

@ -33,6 +33,7 @@ lib.makeScope pkgs.newScope (self: {
mopidy-beets = callPackage ./mopidy-beets.nix { };
mopidy-funkwhale = callPackage ./mopidy-funkwhale.nix { };
mopidy-internetarchive = callPackage ./mopidy-internetarchive.nix { };
mopidy-listenbrainz = callPackage ./mopidy-listenbrainz { };
nautilus-annotations = callPackage ./nautilus-annotations { };
pop-launcher-plugin-brightness = callPackage ./pop-launcher-plugin-brightness { };
pop-launcher-plugin-duckduckgo-bangs =

View File

@ -0,0 +1,25 @@
{ lib, fetchFromGitHub, python3, mopidy }:
python3.pkgs.buildPythonApplication rec {
pname = "mopidy-listenbrainz";
version = "0.3.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "suaviloquence";
repo = "mopidy-listenbrainz";
rev = "v${version}";
hash = "sha256-kYZgG2KQMTxMR8tdwwCKkfexDcxcndXG9LSdlnoN/CY=";
};
propagatedBuildInputs = with python3.pkgs;
[ pykka musicbrainzngs ] ++ [ mopidy ];
meta = with lib; {
description =
"Mopidy extension for getting recommendations with Listenbrainz";
homepage = "https://github.com/suaviloquence/mopidy-listenbrainz";
license = licenses.apsl20;
platforms = mopidy.meta.platforms;
};
}