mopidy-local: init at 3.1.1
Mopidy-Local is the successor to Mopidy-Local-SQLite and Mopidy-Local-Images, which are already packaged. I had to make gobject-introspection a propagated build input, otherwise Mopidy-Local can't import Mopidy.
This commit is contained in:
parent
1f378561c6
commit
7565d00a7c
@ -14,6 +14,8 @@ let
|
|||||||
|
|
||||||
mopidy-gmusic = callPackage ./gmusic.nix { };
|
mopidy-gmusic = callPackage ./gmusic.nix { };
|
||||||
|
|
||||||
|
mopidy-local = callPackage ./local.nix { };
|
||||||
|
|
||||||
mopidy-local-images = callPackage ./local-images.nix { };
|
mopidy-local-images = callPackage ./local-images.nix { };
|
||||||
|
|
||||||
mopidy-local-sqlite = callPackage ./local-sqlite.nix { };
|
mopidy-local-sqlite = callPackage ./local-sqlite.nix { };
|
||||||
|
30
pkgs/applications/audio/mopidy/local.nix
Normal file
30
pkgs/applications/audio/mopidy/local.nix
Normal file
@ -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 ];
|
nativeBuildInputs = [ wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs = with gst_all_1; [
|
buildInputs = with gst_all_1; [
|
||||||
gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad
|
glib-networking
|
||||||
glib-networking gobject-introspection
|
gst-plugins-bad
|
||||||
|
gst-plugins-base
|
||||||
|
gst-plugins-good
|
||||||
|
gst-plugins-ugly
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = [
|
||||||
gst-python pygobject3 pykka tornado requests setuptools
|
gobject-introspection
|
||||||
] ++ stdenv.lib.optional (!stdenv.isDarwin) dbus-python;
|
] ++ (with pythonPackages; [
|
||||||
|
gst-python
|
||||||
|
pygobject3
|
||||||
|
pykka
|
||||||
|
requests
|
||||||
|
setuptools
|
||||||
|
tornado
|
||||||
|
] ++ stdenv.lib.optional (!stdenv.isDarwin) dbus-python
|
||||||
|
);
|
||||||
|
|
||||||
# There are no tests
|
# There are no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -22122,6 +22122,7 @@ in
|
|||||||
mopidy
|
mopidy
|
||||||
mopidy-gmusic
|
mopidy-gmusic
|
||||||
mopidy-iris
|
mopidy-iris
|
||||||
|
mopidy-local
|
||||||
mopidy-local-images
|
mopidy-local-images
|
||||||
mopidy-local-sqlite
|
mopidy-local-sqlite
|
||||||
mopidy-moped
|
mopidy-moped
|
||||||
|
Loading…
x
Reference in New Issue
Block a user