liquid-dsp: move to by-name/ (#543544)

This commit is contained in:
Weijia Wang
2026-07-19 22:32:57 +00:00
committed by GitHub
4 changed files with 13 additions and 14 deletions
@@ -3,8 +3,7 @@
stdenv,
cmake,
fetchFromGitHub,
autoreconfHook,
autoSignDarwinBinariesHook,
darwin,
fixDarwinDylibNames,
}:
@@ -19,23 +18,27 @@ 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 = [
cmake
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
autoSignDarwinBinariesHook
darwin.autoSignDarwinBinariesHook
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;
-4
View File
@@ -6215,10 +6215,6 @@ with pkgs;
libwpe-fdo = callPackage ../development/libraries/libwpe/fdo.nix { };
liquid-dsp = callPackage ../development/libraries/liquid-dsp {
inherit (darwin) autoSignDarwinBinariesHook;
};
luabind = callPackage ../development/libraries/luabind { lua = lua5_1; };
luabind_luajit = luabind.override { lua = luajit; };