Unverified Commit 235373f0 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #225143 from lilyinstarlight/pkg/mopidy-spotify

parents 904f1e32 77f0d209
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -37,6 +37,8 @@ lib.makeScope newScope (self: with self; {

  mopidy-soundcloud = callPackage ./soundcloud.nix { };

  mopidy-spotify = callPackage ./spotify.nix { };

  mopidy-tidal = callPackage ./tidal.nix { };

  mopidy-tunein = callPackage ./tunein.nix { };
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ pythonPackages.buildPythonApplication rec {
    gst-plugins-base
    gst-plugins-good
    gst-plugins-ugly
    gst-plugins-rs
  ];

  propagatedBuildInputs = [
+31 −0
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, pythonPackages, mopidy }:

pythonPackages.buildPythonApplication rec {
  pname = "mopidy-spotify";
  version = "unstable-2023-04-21";

  src = fetchFromGitHub {
    owner = "mopidy";
    repo = "mopidy-spotify";
    rev = "984151ac96c5f9c35892055bff20cc11f46092d5";
    hash = "sha256-4e9Aj0AOFR4/FK54gr1ZyPt0nYZDMrMetV4FPtBxapU=";
  };

  propagatedBuildInputs = [
    mopidy
    pythonPackages.responses
  ];

  nativeBuildInputs = [
    pythonPackages.pytestCheckHook
  ];

  pythonImportsCheck = [ "mopidy_spotify" ];

  meta = with lib; {
    homepage = "https://github.com/mopidy/mopidy-spotify";
    description = "Mopidy extension for playing music from Spotify";
    license = licenses.asl20;
    maintainers = with maintainers; [ lilyinstarlight ];
  };
}
+3 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
, IOKit
, MediaToolbox
, OpenGL
, Security
, VideoToolbox
, ipu6ep-camera-hal
}:
@@ -30,6 +31,8 @@

  gst-plugins-viperfx = callPackage ./viperfx { };

  gst-plugins-rs = callPackage ./rs { inherit Security; };

  gst-rtsp-server = callPackage ./rtsp-server { };

  gst-libav = callPackage ./libav { };
+3766 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading