about summary refs log tree commit diff
path: root/pkgs/applications/audio/termusic
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2022-02-18 16:17:18 +0000
committerdevhell <devhell@mailfresser.de>2022-02-18 16:17:18 +0000
commitd98a7906b7308eb34fa482f8b03cd4e34513abfa (patch)
tree5e55788bccc5f40b4d6338559bc6baeccf442978 /pkgs/applications/audio/termusic
parent4150bf02b50037b5bf53e2c35cc842f1ae84e04e (diff)
downloadnixlib-d98a7906b7308eb34fa482f8b03cd4e34513abfa.tar
nixlib-d98a7906b7308eb34fa482f8b03cd4e34513abfa.tar.gz
nixlib-d98a7906b7308eb34fa482f8b03cd4e34513abfa.tar.bz2
nixlib-d98a7906b7308eb34fa482f8b03cd4e34513abfa.tar.lz
nixlib-d98a7906b7308eb34fa482f8b03cd4e34513abfa.tar.xz
nixlib-d98a7906b7308eb34fa482f8b03cd4e34513abfa.tar.zst
nixlib-d98a7906b7308eb34fa482f8b03cd4e34513abfa.zip
termusic: init at 0.6.10
Diffstat (limited to 'pkgs/applications/audio/termusic')
-rw-r--r--pkgs/applications/audio/termusic/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/audio/termusic/default.nix b/pkgs/applications/audio/termusic/default.nix
new file mode 100644
index 000000000000..4a0035aadf53
--- /dev/null
+++ b/pkgs/applications/audio/termusic/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, stdenv
+, fetchCrate
+, rustPlatform
+, pkg-config
+, alsa-lib }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "termusic";
+  version = "0.6.10";
+
+  src = fetchCrate {
+    inherit pname version;
+    sha256 = "sha256-i+XxEPkLZK+JKDl88P8Nd7XBhsGhEzvUGovJtSWvRtg=";
+  };
+
+  cargoHash = "sha256-7nQzU1VvRDrtltVAXTX268vl9AbQhMOilPG4nNAJ+Xk=";
+
+  nativeBuildInputs = [ pkg-config ];
+  buildInputs = [ alsa-lib ];
+
+  meta = with lib; {
+    description = "Terminal Music Player TUI written in Rust";
+    homepage = "https://github.com/tramhao/termusic";
+    license = with licenses; [ gpl3Only ];
+    maintainers = with maintainers; [ devhell ];
+  };
+}