Merge pull request #93400 from ruuda/mopidy-local
mopidy-local: init at 3.1.1
This commit is contained in:
commit
c3054b77d7
|
@ -14,9 +14,7 @@ let
|
|||
|
||||
mopidy-gmusic = callPackage ./gmusic.nix { };
|
||||
|
||||
mopidy-local-images = callPackage ./local-images.nix { };
|
||||
|
||||
mopidy-local-sqlite = callPackage ./local-sqlite.nix { };
|
||||
mopidy-local = callPackage ./local.nix { };
|
||||
|
||||
mopidy-spotify = callPackage ./spotify.nix { };
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, python3Packages, mopidy, mopidy-local-images }:
|
||||
{ stdenv, python3Packages, mopidy }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "Mopidy-Iris";
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
{ stdenv, fetchFromGitHub, pythonPackages, mopidy, gobject-introspection }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "mopidy-local-images";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mopidy";
|
||||
repo = "mopidy-local-images";
|
||||
rev = "v${version}";
|
||||
sha256 = "0gdqxws0jish50mmi57mlqcs659wrllzv00czl18niz94vzvyc0d";
|
||||
};
|
||||
|
||||
buildInputs = [ gobject-introspection ];
|
||||
|
||||
checkInputs = [
|
||||
pythonPackages.mock
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mopidy
|
||||
pythonPackages.pykka
|
||||
pythonPackages.uritools
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/mopidy/mopidy-local-images";
|
||||
description = "Mopidy local library proxy extension for handling embedded album art";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.rvolosatovs ];
|
||||
};
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
{ stdenv, fetchFromGitHub, pythonPackages, mopidy }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "mopidy-local-sqlite";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mopidy";
|
||||
repo = "mopidy-local-sqlite";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fjd9ydbfwd1n9b9zw8zjn4l7c5hpam2n0xs51pjkjn82m3zq9zv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mopidy
|
||||
pythonPackages.uritools
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/mopidy/mopidy-local-sqlite";
|
||||
description = "Mopidy SQLite local library extension";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.rvolosatovs ];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
{ lib
|
||||
, mopidy
|
||||
, python3Packages
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "Mopidy-Local";
|
||||
version = "3.1.1";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "13m0iz14lyplnpm96gfpisqvv4n89ls30kmkg21z7v238lm0h19j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mopidy
|
||||
python3Packages.uritools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
python3Packages.pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mopidy/mopidy-local";
|
||||
description = "Mopidy extension for playing music from your local music archive";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ruuda ];
|
||||
};
|
||||
}
|
|
@ -16,13 +16,24 @@ pythonPackages.buildPythonApplication rec {
|
|||
nativeBuildInputs = [ wrapGAppsHook ];
|
||||
|
||||
buildInputs = with gst_all_1; [
|
||||
gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad
|
||||
glib-networking gobject-introspection
|
||||
glib-networking
|
||||
gst-plugins-bad
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-plugins-ugly
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
gst-python pygobject3 pykka tornado requests setuptools
|
||||
] ++ stdenv.lib.optional (!stdenv.isDarwin) dbus-python;
|
||||
propagatedBuildInputs = [
|
||||
gobject-introspection
|
||||
] ++ (with pythonPackages; [
|
||||
gst-python
|
||||
pygobject3
|
||||
pykka
|
||||
requests
|
||||
setuptools
|
||||
tornado
|
||||
] ++ stdenv.lib.optional (!stdenv.isDarwin) dbus-python
|
||||
);
|
||||
|
||||
# There are no tests
|
||||
doCheck = false;
|
||||
|
|
|
@ -303,6 +303,8 @@ mapAliases ({
|
|||
mcgrid = throw "mcgrid has been removed from nixpkgs, as it's not compatible with rivet 3"; # added 2020-05-23
|
||||
mcomix = throw "mcomix has been removed from nixpkgs, as it's unmaintained"; # added 2019-12-10
|
||||
mirage = throw "mirage has been femoved from nixpkgs, as it's unmaintained"; # added 2019-12-10
|
||||
mopidy-local-images = throw "mopidy-local-images has been removed as it's unmaintained. It's functionality has been merged into the mopidy-local extension."; # added 2020-10-18
|
||||
mopidy-local-sqlite = throw "mopidy-local-sqlite has been removed as it's unmaintained. It's functionality has been merged into the mopidy-local extension."; # added 2020-10-18
|
||||
mysql-client = hiPrio mariadb.client;
|
||||
memtest86 = memtest86plus; # added 2019-05-08
|
||||
mesa_noglu = mesa; # added 2019-05-28
|
||||
|
|
|
@ -22116,8 +22116,7 @@ in
|
|||
mopidy
|
||||
mopidy-gmusic
|
||||
mopidy-iris
|
||||
mopidy-local-images
|
||||
mopidy-local-sqlite
|
||||
mopidy-local
|
||||
mopidy-moped
|
||||
mopidy-mopify
|
||||
mopidy-mpd
|
||||
|
|
Loading…
Reference in New Issue