@@ -1,21 +1,22 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:
1+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, python3, libxcb, AppKit, Security }:
3rustPlatform.buildRustPackage rec {
3rustPlatform.buildRustPackage rec {
4 pname = "spotify-tui";
4 pname = "spotify-tui";
5− version = "0.9.0";
5+ version = "0.10.0";
7 src = fetchFromGitHub {
7 src = fetchFromGitHub {
8 owner = "Rigellute";
8 owner = "Rigellute";
9 repo = "spotify-tui";
9 repo = "spotify-tui";
10 rev = "v${version}";
10 rev = "v${version}";
11− sha256 = "1bbh9df4gfgb5pqavgvmy8fqnr2j5rbqbanv0y31j4i0kv2wrh6a";
11+ sha256 = "10wrlfi50lsf6qjsi9qklw2mk2fbf0jib7f841v842l9k9zw0hrg";
14− cargoSha256 = "1rb4dl9zn3xx2yrapx5cfsli93ggmdq8w9fqi8cy8giyja1mnqfl";
14+ cargoSha256 = "140m3pryvbc96xvl5ymz68msrx93rmvvy0y8skvc40yxwl401inc";
16− nativeBuildInputs = [ pkgconfig ];
16+ nativeBuildInputs = [ pkgconfig python3 ];
17 buildInputs = [ openssl ]
17 buildInputs = [ openssl ]
18+ ++ stdenv.lib.optional stdenv.isLinux libxcb
18− ++ stdenv.lib.optional stdenv.isDarwin Security;
19+ ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
20 meta = with stdenv.lib; {
21 meta = with stdenv.lib; {
21 description = "Spotify for the terminal written in Rust";
22 description = "Spotify for the terminal written in Rust";