mpd-discord-rpc: fix build on darwin
Add missing Security framework as input.
This commit is contained in:
parent
0f234e382c
commit
6375863e93
2 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,7 @@
|
|||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, openssl
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -21,10 +22,9 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Rust application which displays your currently playing song / album / artist from MPD in Discord using Rich Presence";
|
||||
homepage = "https://github.com/JakeStanger/mpd-discord-rpc";
|
||||
license = licenses.mit;
|
||||
|
|
|
@ -4214,7 +4214,9 @@ with pkgs;
|
|||
|
||||
mpdris2 = callPackage ../tools/audio/mpdris2 { };
|
||||
|
||||
mpd-discord-rpc = callPackage ../tools/audio/mpd-discord-rpc { };
|
||||
mpd-discord-rpc = callPackage ../tools/audio/mpd-discord-rpc {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
mpd-mpris = callPackage ../tools/audio/mpd-mpris { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue