mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
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
|
, fetchFromGitHub
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, openssl
|
, openssl
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -21,10 +22,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = stdenv.isDarwin;
|
|
||||||
description = "Rust application which displays your currently playing song / album / artist from MPD in Discord using Rich Presence";
|
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";
|
homepage = "https://github.com/JakeStanger/mpd-discord-rpc";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
@ -4217,7 +4217,9 @@ with pkgs;
|
|||||||
|
|
||||||
mpdris2 = callPackage ../tools/audio/mpdris2 { };
|
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 { };
|
mpd-mpris = callPackage ../tools/audio/mpd-mpris { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user