asak: init at 0.3.3

This commit is contained in:
0x61nas 2024-07-02 13:23:03 +03:00
parent d9cea410c2
commit 83bde70e37
No known key found for this signature in database
GPG Key ID: 83E03DC6F3834086

View File

@ -0,0 +1,38 @@
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, alsa-lib
, libjack2
}:
rustPlatform.buildRustPackage rec {
pname = "asak";
version = "0.3.3";
src = fetchFromGitHub {
owner = "chaosprint";
repo = "asak";
rev = "v${version}";
hash = "sha256-yhR8xLCFSmTG2yqsbiP3w8vcvLz4dsn4cbMPFedzUFI=";
};
cargoHash = "sha256-ssHYQhx5rNkTH6KJuJh2wPcptIcIxP8BcDNriGj3btk=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ alsa-lib libjack2 ];
# There is no tests
doCheck = false;
meta = {
description = "A cross-platform audio recording/playback CLI tool with TUI, written in Rust";
homepage = "https://github.com/chaosprint/asak";
changelog = "https://github.com/chaosprint/asak/releases/tag/v${version}";
license = lib.licenses.mit;
mainProgram = "asak";
maintainers = with lib.maintainers; [ anas ];
platforms = with lib.platforms; unix ++ windows;
};
}