2022-02-18 17:17:18 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchCrate
|
|
|
|
, rustPlatform
|
|
|
|
, pkg-config
|
|
|
|
, alsa-lib }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "termusic";
|
2022-08-03 14:35:04 +02:00
|
|
|
version = "0.7.1";
|
2022-02-18 17:17:18 +01:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-08-03 14:35:04 +02:00
|
|
|
sha256 = "sha256-n5Z6LnZ0x+V46Exa9vSMrndZHperJlcXl1unfeTuo9M=";
|
2022-02-18 17:17:18 +01:00
|
|
|
};
|
|
|
|
|
2022-08-03 14:35:04 +02:00
|
|
|
cargoHash = "sha256-eIM0/SWLZVyVsHyQ4GzKSjVTvK7oActAiBEv56+JqK4=";
|
2022-02-18 17:17:18 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|