mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
28 lines
792 B
Nix
28 lines
792 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "spotify-tui";
|
|
version = "0.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Rigellute";
|
|
repo = "spotify-tui";
|
|
rev = "v${version}";
|
|
sha256 = "0ksrdavnvjpph7h0lcc2hvxhygfbn0dmsabq2ilslvpa80ph2c53";
|
|
};
|
|
|
|
cargoSha256 = "029g80mcqvmckszpbzm4hxs5w63n41ah4rc1b93i9c1nzvncd811";
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ openssl ]
|
|
++ stdenv.lib.optional stdenv.isDarwin Security;
|
|
|
|
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;
|
|
};
|
|
}
|