2022-02-23 08:33:31 +00:00
|
|
|
{ lib, fetchFromGitHub, python3, mopidy, beets }:
|
2022-01-24 01:11:56 +00:00
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "mopidy-beets";
|
|
|
|
version = "4.0.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mopidy";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-HvhYAGtgf2rpzIJwMspGtHcrk4IZxPX1jZbNNwQCJA4=";
|
|
|
|
};
|
|
|
|
|
2022-03-28 00:18:15 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs;
|
|
|
|
[ pykka requests ] ++ [ mopidy beets ];
|
2022-01-24 01:11:56 +00:00
|
|
|
|
2022-03-28 00:18:15 +00:00
|
|
|
checkInputs = with python3.pkgs; [ pytest pytest-cov ];
|
2022-01-24 01:11:56 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Mopidy extension for playing music from a Beets collection";
|
|
|
|
homepage = "https://github.com/mopidy/mopidy-beets";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|