mopidy-beets: init at 4.0.1

This commit is contained in:
Gabriel Arazas 2022-01-24 09:11:56 +08:00
parent 8f122288c2
commit c9ba1f03d5
2 changed files with 30 additions and 0 deletions

View File

@ -44,6 +44,7 @@ let
guix-binary = callPackage ./guix-binary.nix { }; guix-binary = callPackage ./guix-binary.nix { };
junction = callPackage ./junction.nix { }; junction = callPackage ./junction.nix { };
libcs50 = callPackage ./libcs50.nix { }; libcs50 = callPackage ./libcs50.nix { };
mopidy-beets = callPackage ./mopidy-beets.nix { };
mopidy-internetarchive = callPackage ./mopidy-internetarchive.nix { }; mopidy-internetarchive = callPackage ./mopidy-internetarchive.nix { };
pop-launcher = callPackage ./pop-launcher.nix { }; pop-launcher = callPackage ./pop-launcher.nix { };
pop-launcher-plugin-duckduckgo-bangs = pop-launcher-plugin-duckduckgo-bangs =

29
pkgs/mopidy-beets.nix Normal file
View File

@ -0,0 +1,29 @@
{ lib, fetchFromGitHub, python3, mopidy }:
python3.pkgs.buildPythonApplication rec {
pname = "mopidy-beets";
version = "4.0.1";
src = fetchFromGitHub {
owner = "mopidy";
repo = pname;
rev = "v${version}";
sha256 = "sha256-HvhYAGtgf2rpzIJwMspGtHcrk4IZxPX1jZbNNwQCJA4=";
};
propagatedBuildInputs = with python3.pkgs; [
pykka
requests
] ++ [ mopidy ];
checkInputs = with python3.pkgs; [
pytest
pytest-cov
];
meta = with lib; {
description = "Mopidy extension for playing music from a Beets collection";
homepage = "https://github.com/mopidy/mopidy-beets";
license = licenses.mit;
};
}