Merge pull request #160724 from devhell/init-termusic

This commit is contained in:
Sandro 2022-02-21 23:57:12 +01:00 committed by GitHub
commit e5a736dc3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib
, stdenv
, fetchCrate
, rustPlatform
, pkg-config
, alsa-lib }:
rustPlatform.buildRustPackage rec {
pname = "termusic";
version = "0.6.10";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-i+XxEPkLZK+JKDl88P8Nd7XBhsGhEzvUGovJtSWvRtg=";
};
cargoHash = "sha256-7nQzU1VvRDrtltVAXTX268vl9AbQhMOilPG4nNAJ+Xk=";
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 ];
};
}

View File

@ -1070,6 +1070,8 @@ with pkgs;
tauon = callPackage ../applications/audio/tauon { };
termusic = callPackage ../applications/audio/termusic { };
tfk8s = callPackage ../tools/misc/tfk8s { };
tnat64 = callPackage ../tools/networking/tnat64 { };