mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
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-local = callPackage ./local.nix { };
|
||||
|
||||
mopidy-local-images = callPackage ./local-images.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 ];
|
||||
|
||||
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;
|
||||
|
@ -22122,6 +22122,7 @@ in
|
||||
mopidy
|
||||
mopidy-gmusic
|
||||
mopidy-iris
|
||||
mopidy-local
|
||||
mopidy-local-images
|
||||
mopidy-local-sqlite
|
||||
mopidy-moped
|
||||
|
Loading…
Reference in New Issue
Block a user