Merge pull request #78361 from NickHu/mopidy
mopidy-mpris: init at 3.0.1 mopidy-somafm: init at 2.0.0 mopidy-youtube: 2.0.2 -> 3.0 mopidy-gmusic: 3.0.0 -> 4.0.0
This commit is contained in:
commit
bf0b10fbdd
@ -26,6 +26,10 @@ let
|
||||
|
||||
mopidy-mpd = callPackage ./mpd.nix { };
|
||||
|
||||
mopidy-mpris = callPackage ./mpris.nix { };
|
||||
|
||||
mopidy-somafm = callPackage ./somafm.nix { };
|
||||
|
||||
mopidy-spotify-tunigo = callPackage ./spotify-tunigo.nix { };
|
||||
|
||||
mopidy-youtube = callPackage ./youtube.nix { };
|
||||
|
@ -1,19 +1,20 @@
|
||||
{ stdenv, fetchurl, pythonPackages, mopidy }:
|
||||
{ stdenv, python3Packages, mopidy }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "mopidy-gmusic";
|
||||
version = "3.0.0";
|
||||
version = "4.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mopidy/mopidy-gmusic/archive/v${version}.tar.gz";
|
||||
sha256 = "0a2s4xrrhnkv85rx4w5bj6ih9xm34jy0q71fdvbzmi827g9dw5sz";
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit version;
|
||||
pname = "Mopidy-GMusic";
|
||||
sha256 = "14yswmlfs659rs3k595606m77lw9c6pjykb5pikqw21sb97haxl3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mopidy
|
||||
pythonPackages.requests
|
||||
pythonPackages.gmusicapi
|
||||
pythonPackages.cachetools
|
||||
python3Packages.requests
|
||||
python3Packages.gmusicapi
|
||||
python3Packages.cachetools
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
27
pkgs/applications/audio/mopidy/mpris.nix
Normal file
27
pkgs/applications/audio/mopidy/mpris.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, python3Packages, mopidy }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "mopidy-mpris";
|
||||
version = "3.0.1";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit version;
|
||||
pname = "Mopidy-MPRIS";
|
||||
sha256 = "0qk46aq5r92qgkldzl41x09naww1gv92l4c4hknyl7yymyvm9lr2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mopidy
|
||||
python3Packages.pydbus
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.mopidy.com/;
|
||||
description = "Mopidy extension for controlling Mopidy through D-Bus using the MPRIS specification";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
};
|
||||
}
|
||||
|
26
pkgs/applications/audio/mopidy/somafm.nix
Normal file
26
pkgs/applications/audio/mopidy/somafm.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, python3Packages, mopidy }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "mopidy-somafm";
|
||||
version = "2.0.0";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit version;
|
||||
pname = "Mopidy-SomaFM";
|
||||
sha256 = "1j88rrliys8hqvnb35k1xqw88bvrllcb4rb53lgh82byhscsxlf3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mopidy
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.mopidy.com/;
|
||||
description = "Mopidy extension for playing music from SomaFM";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
};
|
||||
}
|
||||
|
@ -1,17 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, pythonPackages, mopidy }:
|
||||
{ stdenv, python3Packages, mopidy }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "mopidy-youtube";
|
||||
version = "2.0.2";
|
||||
version = "3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mopidy";
|
||||
repo = "mopidy-youtube";
|
||||
rev = "v${version}";
|
||||
sha256 = "06r3ikyg2ch5n7fbn3sgj04hk6icpfpk1r856qch41995k3bbfg7";
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit version;
|
||||
pname = "Mopidy-YouTube";
|
||||
sha256 = "0x1q9rfnjx65n6hi8s5rw5ff4xv55h63zy52fwm8aksdnzppr7gd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ mopidy pafy ];
|
||||
patchPhase = "sed s/bs4/beautifulsoup4/ -i setup.cfg";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mopidy
|
||||
python3Packages.beautifulsoup4
|
||||
python3Packages.cachetools
|
||||
python3Packages.youtube-dl
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -20846,7 +20846,22 @@ in
|
||||
python = python3;
|
||||
};
|
||||
|
||||
inherit (mopidyPackages) mopidy mopidy-gmusic mopidy-local-images mopidy-local-sqlite mopidy-spotify mopidy-moped mopidy-mopify mopidy-spotify-tunigo mopidy-youtube mopidy-soundcloud mopidy-musicbox-webclient mopidy-iris mopidy-mpd;
|
||||
inherit (mopidyPackages)
|
||||
mopidy
|
||||
mopidy-gmusic
|
||||
mopidy-iris
|
||||
mopidy-local-images
|
||||
mopidy-local-sqlite
|
||||
mopidy-moped
|
||||
mopidy-mopify
|
||||
mopidy-mpd
|
||||
mopidy-mpris
|
||||
mopidy-musicbox-webclient
|
||||
mopidy-somafm
|
||||
mopidy-soundcloud
|
||||
mopidy-spotify
|
||||
mopidy-spotify-tunigo
|
||||
mopidy-youtube;
|
||||
|
||||
motif = callPackage ../development/libraries/motif { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user