mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
29 lines
650 B
Nix
29 lines
650 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchCrate
|
|
, rustPlatform
|
|
, pkg-config
|
|
, alsa-lib }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "termusic";
|
|
version = "0.6.16";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-2xPm4DahTv3+T92qMYuistfPTlZaJUushP0yrgHYqco=";
|
|
};
|
|
|
|
cargoHash = "sha256-oPRW1x/hXhT8LBW3Z3jMBoal5zC6jKKOTo/RrDwgeJU=";
|
|
|
|
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 ];
|
|
};
|
|
}
|