mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
26 lines
700 B
Nix
26 lines
700 B
Nix
{ 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;
|
|
};
|
|
}
|