spotify-tui: fix darwin build

This commit is contained in:
Maximilian Bosch 2019-10-12 18:28:15 +02:00
parent b2db28464b
commit c880884656
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
2 changed files with 7 additions and 4 deletions

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl }:
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:
rustPlatform.buildRustPackage rec {
pname = "spotify-tui";
@ -12,9 +12,10 @@ rustPlatform.buildRustPackage rec {
};
cargoSha256 = "029g80mcqvmckszpbzm4hxs5w63n41ah4rc1b93i9c1nzvncd811";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ];
buildInputs = [ openssl ]
++ stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
description = "Spotify for the terminal written in Rust";

@ -20676,7 +20676,9 @@ in
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 {
ncurses = ncurses5;