3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/spotify-tui/default.nix

28 lines
792 B
Nix
Raw Normal View History

2019-10-12 17:28:15 +01:00
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:
2019-10-12 14:22:04 +01:00
rustPlatform.buildRustPackage rec {
pname = "spotify-tui";
2019-11-16 17:21:25 +00:00
version = "0.9.0";
2019-10-16 13:38:18 +01:00
2019-10-12 14:22:04 +01:00
src = fetchFromGitHub {
owner = "Rigellute";
repo = "spotify-tui";
2019-10-16 13:38:18 +01:00
rev = "v${version}";
2019-11-16 17:21:25 +00:00
sha256 = "1bbh9df4gfgb5pqavgvmy8fqnr2j5rbqbanv0y31j4i0kv2wrh6a";
2019-10-12 14:22:04 +01:00
};
2019-10-29 09:20:00 +00:00
cargoSha256 = "1rb4dl9zn3xx2yrapx5cfsli93ggmdq8w9fqi8cy8giyja1mnqfl";
2019-10-12 14:22:04 +01:00
nativeBuildInputs = [ pkgconfig ];
2019-10-12 17:28:15 +01:00
buildInputs = [ openssl ]
++ stdenv.lib.optional stdenv.isDarwin Security;
2019-10-12 14:22:04 +01:00
meta = with stdenv.lib; {
description = "Spotify for the terminal written in Rust";
homepage = https://github.com/Rigellute/spotify-tui;
license = licenses.mit;
maintainers = with maintainers; [ jwijenbergh ];
platforms = platforms.all;
};
}