mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
asak: init at 0.3.3
This commit is contained in:
parent
d9cea410c2
commit
83bde70e37
38
pkgs/by-name/as/asak/package.nix
Normal file
38
pkgs/by-name/as/asak/package.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user