New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spotify-tui: 0.9.0 -> 0.10.0 #74739
spotify-tui: 0.9.0 -> 0.10.0 #74739
Conversation
|
||
nativeBuildInputs = [ pkgconfig ]; | ||
buildInputs = [ openssl ] | ||
buildInputs = [ openssl python3 ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please move python3
to nativeBuildInputs
. Besides that, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah, fixed.
would you mind adding the following for the darwin build? diff --git c/pkgs/applications/audio/spotify-tui/default.nix i/pkgs/applications/audio/spotify-tui/default.nix
index a1ec474c217..264ab73e6a5 100644
--- c/pkgs/applications/audio/spotify-tui/default.nix
+++ i/pkgs/applications/audio/spotify-tui/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, python3, libxcb, Security }:
+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, python3, libxcb, AppKit, Security }:
rustPlatform.buildRustPackage rec {
pname = "spotify-tui";
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl python3 ]
++ stdenv.lib.optional stdenv.isLinux libxcb
- ++ stdenv.lib.optional stdenv.isDarwin Security;
+ ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
meta = with stdenv.lib; {
description = "Spotify for the terminal written in Rust";
diff --git c/pkgs/top-level/all-packages.nix i/pkgs/top-level/all-packages.nix
index 3db18945819..4f124b36938 100644
--- c/pkgs/top-level/all-packages.nix
+++ i/pkgs/top-level/all-packages.nix
@@ -21109,7 +21109,7 @@ in
split2flac = callPackage ../applications/audio/split2flac { };
spotify-tui = callPackage ../applications/audio/spotify-tui {
- inherit (darwin.apple_sdk.frameworks) Security;
+ inherit (darwin.apple_sdk.frameworks) AppKit Security;
};
squishyball = callPackage ../applications/audio/squishyball { |
10bbf88
to
dafee52
Compare
Patch applied, thanks 👍 |
Thank you! |
Motivation for this change
Update to version 0.10.0. Has clipboard support so we need libxcb (on linux) and python (for building rust-xcb).
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @