depot/third_party/nixpkgs/pkgs/applications/audio/termusic/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

28 lines
649 B
Nix

{ lib
, stdenv
, fetchCrate
, rustPlatform
, pkg-config
, alsa-lib }:
rustPlatform.buildRustPackage rec {
pname = "termusic";
version = "0.7.3";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-5I9Fu+A5IBfaxaPcYKTzWq3/8ts0BPSOOVeU6D61dbc=";
};
cargoHash = "sha256-R/hElL0MjeBqboJTQkIREPOh+/YbdKtUAzqPD6BpSPs=";
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 ];
};
}