Skip to content

Commit

Permalink
Merge pull request #225143 from lilyinstarlight/pkg/mopidy-spotify
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored May 17, 2023
2 parents 904f1e3 + 77f0d20 commit 235373f
Show file tree
Hide file tree
Showing 8 changed files with 4,035 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pkgs/applications/audio/mopidy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/mopidy/mopidy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pythonPackages.buildPythonApplication rec {
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gst-plugins-rs
];

propagatedBuildInputs = [
Expand Down
31 changes: 31 additions & 0 deletions pkgs/applications/audio/mopidy/spotify.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ 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 changes: 3 additions & 0 deletions pkgs/development/libraries/gstreamer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
, IOKit
, MediaToolbox
, OpenGL
, Security
, VideoToolbox
, ipu6ep-camera-hal
}:
Expand All @@ -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 { };
Expand Down
Loading

0 comments on commit 235373f

Please sign in to comment.