spotify-tui: fix darwin build
This commit is contained in:
parent
b2db28464b
commit
c880884656
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl }:
|
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "spotify-tui";
|
pname = "spotify-tui";
|
||||||
@ -12,9 +12,10 @@ rustPlatform.buildRustPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "029g80mcqvmckszpbzm4hxs5w63n41ah4rc1b93i9c1nzvncd811";
|
cargoSha256 = "029g80mcqvmckszpbzm4hxs5w63n41ah4rc1b93i9c1nzvncd811";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ]
|
||||||
|
++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Spotify for the terminal written in Rust";
|
description = "Spotify for the terminal written in Rust";
|
||||||
|
@ -20676,7 +20676,9 @@ in
|
|||||||
|
|
||||||
split2flac = callPackage ../applications/audio/split2flac { };
|
split2flac = callPackage ../applications/audio/split2flac { };
|
||||||
|
|
||||||
spotify-tui = callPackage ../applications/audio/spotify-tui { };
|
spotify-tui = callPackage ../applications/audio/spotify-tui {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
squishyball = callPackage ../applications/audio/squishyball {
|
squishyball = callPackage ../applications/audio/squishyball {
|
||||||
ncurses = ncurses5;
|
ncurses = ncurses5;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user