From d98a7906b7308eb34fa482f8b03cd4e34513abfa Mon Sep 17 00:00:00 2001 From: devhell Date: Fri, 18 Feb 2022 16:17:18 +0000 Subject: termusic: init at 0.6.10 --- pkgs/applications/audio/termusic/default.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/applications/audio/termusic/default.nix (limited to 'pkgs/applications/audio/termusic') 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 ]; + }; +} -- cgit 1.4.1