triforce-lv2: init at 0.2.0 (#391796)

This commit is contained in:
Florian Klink
2025-03-21 13:32:19 +01:00
committed by GitHub
+36
View File
@@ -0,0 +1,36 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "triforce-lv2";
version = "0.2.0";
src = fetchFromGitHub {
owner = "chadmed";
repo = "triforce";
rev = version;
hash = "sha256-Rv4FHDmmTELYwrxfWDt/TghspLQBGgiREaq3KV98EQY=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-ltrvwvrzRPtgB4y/TeIHhIQdWAfo2NHTeDYvDqTuPXE=";
installPhase = ''
export LIBDIR=$out/lib
mkdir -p $LIBDIR
make
make install
'';
meta = with lib; {
homepage = "https://github.com/chadmed/triforce";
description = "Minimum Variance Distortionless Response adaptive beamformer for the microphone array found in some Apple Silicon laptops";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ yuka ];
platforms = platforms.linux;
};
}