mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
35 lines
867 B
Nix
35 lines
867 B
Nix
{ lib
|
|
, python3
|
|
, mopidy
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "mopidy-ytmusic";
|
|
version = "0.3.8";
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
inherit version;
|
|
pname = "mopidy_ytmusic";
|
|
sha256 = "6b4d8ff9c477dbdd30d0259a009494ebe104cad3f8b37241ae503e5bce4ec2e8";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
(mopidy.override { pythonPackages = python3.pkgs; })
|
|
python3.pkgs.ytmusicapi
|
|
python3.pkgs.pytube
|
|
];
|
|
|
|
pythonImportsCheck = [ "mopidy_ytmusic" ];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/OzymandiasTheGreat/mopidy-ytmusic/blob/v${version}/CHANGELOG.rst";
|
|
description = "Mopidy extension for playing music from YouTube Music";
|
|
homepage = "https://github.com/OzymandiasTheGreat/mopidy-ytmusic";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.nickhu ];
|
|
};
|
|
}
|