2022-02-18 16:17:18 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchCrate
|
|
|
|
, rustPlatform
|
|
|
|
, pkg-config
|
|
|
|
, alsa-lib }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "termusic";
|
2022-05-11 01:38:49 +00:00
|
|
|
version = "0.6.15";
|
2022-02-18 16:17:18 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-05-11 01:38:49 +00:00
|
|
|
sha256 = "sha256-e4hCo5a54EPp6/sd1/ivwHePu+e6MqbA9tvPWf41EhQ=";
|
2022-02-18 16:17:18 +00:00
|
|
|
};
|
|
|
|
|
2022-05-11 01:38:49 +00:00
|
|
|
cargoHash = "sha256-kQjLmASJpo7+LT73vVjbPWhNUGJ1HI6S/8W6gJskJXE=";
|
2022-02-18 16:17:18 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|