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
650 B
Nix
Raw Normal View History

2022-02-18 16:17:18 +00:00
{ lib
, stdenv
, fetchCrate
, rustPlatform
, pkg-config
, alsa-lib }:
rustPlatform.buildRustPackage rec {
pname = "termusic";
2022-05-26 12:55:07 +00:00
version = "0.6.16";
2022-02-18 16:17:18 +00:00
src = fetchCrate {
inherit pname version;
2022-05-26 12:55:07 +00:00
sha256 = "sha256-2xPm4DahTv3+T92qMYuistfPTlZaJUushP0yrgHYqco=";
2022-02-18 16:17:18 +00:00
};
2022-05-26 12:55:07 +00:00
cargoHash = "sha256-oPRW1x/hXhT8LBW3Z3jMBoal5zC6jKKOTo/RrDwgeJU=";
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 ];
};
}