mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
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 {
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue