Merge pull request #180923 from smancill/mpd-discord-rpc-darwin
mpd-discord-rpc: fix build on darwin
This commit is contained in:
commit
7dd0705958
@ -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;
|
||||
|
@ -4217,7 +4217,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 New Issue
Block a user