nixpkgs/pkgs/applications/audio/mopidy/ytmusic.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
724 B
Nix
Raw Normal View History

2021-09-30 15:46:22 +00:00
{ lib, python3Packages, mopidy }:
python3Packages.buildPythonApplication rec {
pname = "mopidy-ytmusic";
2022-09-11 17:46:45 +00:00
version = "0.3.7";
2021-09-30 15:46:22 +00:00
src = python3Packages.fetchPypi {
inherit version;
pname = "Mopidy-YTMusic";
2022-09-11 17:46:45 +00:00
sha256 = "0gqjvi3nfzkqvbdhihzai241p1h5p037bj2475cc93xwzyyqxcrq";
2021-09-30 15:46:22 +00:00
};
propagatedBuildInputs = [
mopidy
python3Packages.ytmusicapi
python3Packages.pytube
];
pythonImportsCheck = [ "mopidy_ytmusic" ];
# has no tests
2021-09-30 15:46:22 +00:00
doCheck = false;
meta = with lib; {
description = "Mopidy extension for playing music from YouTube Music";
homepage = "https://github.com/OzymandiasTheGreat/mopidy-ytmusic";
2021-09-30 15:46:22 +00:00
license = licenses.asl20;
maintainers = [ maintainers.nickhu ];
};
}