summary refs log tree commit diff
path: root/pkgs/applications/audio/spotify-tui/default.nix
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroenwijenbergh@protonmail.com>2019-10-12 15:22:04 +0200
committerJeroen Wijenbergh <jeroenwijenbergh@protonmail.com>2019-10-12 17:05:12 +0200
commitb2db28464b838f99b8ed910729237afa544dab09 (patch)
treeaa8c43b56ca331c7c63d56dcdfd716ecda1f40b2 /pkgs/applications/audio/spotify-tui/default.nix
parent0cd2ab67faedcc3f0d33421ed199554131e8351b (diff)
downloadnixpkgs-b2db28464b838f99b8ed910729237afa544dab09.tar
nixpkgs-b2db28464b838f99b8ed910729237afa544dab09.tar.gz
nixpkgs-b2db28464b838f99b8ed910729237afa544dab09.tar.bz2
nixpkgs-b2db28464b838f99b8ed910729237afa544dab09.tar.lz
nixpkgs-b2db28464b838f99b8ed910729237afa544dab09.tar.xz
nixpkgs-b2db28464b838f99b8ed910729237afa544dab09.tar.zst
nixpkgs-b2db28464b838f99b8ed910729237afa544dab09.zip
spotify-tui: init at 0.5.0
Diffstat (limited to 'pkgs/applications/audio/spotify-tui/default.nix')
-rw-r--r--pkgs/applications/audio/spotify-tui/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/audio/spotify-tui/default.nix b/pkgs/applications/audio/spotify-tui/default.nix
new file mode 100644
index 00000000000..441d0efcb52
--- /dev/null
+++ b/pkgs/applications/audio/spotify-tui/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "spotify-tui";
+  version = "0.5.0";
+  
+  src = fetchFromGitHub {
+    owner = "Rigellute";
+    repo = "spotify-tui";
+    rev = "v${version}"; 
+    sha256 = "1spnr67fb2wjjf9sfkk3vps6q45w0zrk47an79bhv4imziy4dbs3";
+  };
+
+  cargoSha256 = "029g80mcqvmckszpbzm4hxs5w63n41ah4rc1b93i9c1nzvncd811";
+  
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [ openssl ];
+
+  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;
+  };
+}