nixpkgs/pkgs/applications/audio/termusic/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
649 B
Nix
Raw Normal View History

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