liquid-dsp: tidy

attribute ordering, remove unused arg, patch comments
This commit is contained in:
Ian Kilgore
2026-07-19 10:38:12 -04:00
parent f2d74e7e87
commit f08b7d8a73

View File

@@ -3,7 +3,6 @@
stdenv,
cmake,
fetchFromGitHub,
autoreconfHook,
darwin,
fixDarwinDylibNames,
}:
@@ -19,10 +18,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-IvWtoXuuIvpJfY4cyRUsPHgax2/aytYShSdxEStiPYI=";
};
cmakeFlags = [
# Prevent native cpu arch from leaking into binaries.
(lib.cmakeBool "ENABLE_SIMD" false)
(lib.cmakeBool "FIND_SIMD" false)
patches = [
# Fix CMake absolute include/lib paths issue, see also
# - https://github.com/NixOS/nixpkgs/issues/144170
# - https://github.com/jgaeddert/liquid-dsp/pull/450
./fix-cmake-pc-paths.patch
# liquid.h uses va_list; needs stdarg.h
./include-stdarg.patch
];
nativeBuildInputs = [
@@ -33,9 +35,10 @@ stdenv.mkDerivation rec {
fixDarwinDylibNames
];
patches = [
./fix-cmake-pc-paths.patch
./include-stdarg.patch
cmakeFlags = [
# Prevent native cpu arch from leaking into binaries.
(lib.cmakeBool "ENABLE_SIMD" false)
(lib.cmakeBool "FIND_SIMD" false)
];
doCheck = true;