@@ -1,21 +1,22 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:
1+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, python3, libxcb, AppKit, Security }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "spotify-tui";
5− version = "0.9.0";
5+ version = "0.10.0";
66
77 src = fetchFromGitHub {
88 owner = "Rigellute";
99 repo = "spotify-tui";
1010 rev = "v${version}";
11− sha256 = "1bbh9df4gfgb5pqavgvmy8fqnr2j5rbqbanv0y31j4i0kv2wrh6a";
11+ sha256 = "10wrlfi50lsf6qjsi9qklw2mk2fbf0jib7f841v842l9k9zw0hrg";
1212 };
1313
14− cargoSha256 = "1rb4dl9zn3xx2yrapx5cfsli93ggmdq8w9fqi8cy8giyja1mnqfl";
14+ cargoSha256 = "140m3pryvbc96xvl5ymz68msrx93rmvvy0y8skvc40yxwl401inc";
1515
16− nativeBuildInputs = [ pkgconfig ];
16+ nativeBuildInputs = [ pkgconfig python3 ];
1717 buildInputs = [ openssl ]
18− ++ stdenv.lib.optional stdenv.isDarwin Security;
18+ ++ stdenv.lib.optional stdenv.isLinux libxcb
19+ ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
1920
2021 meta = with stdenv.lib; {
2122 description = "Spotify for the terminal written in Rust";