doxygen: unvendor spdlog
The vendored version is horribly outdated and not compatible with musl 1.2.4. Requires backporting a patch to build properly.
This commit is contained in:
parent
aba28d5103
commit
52223518a0
1 changed files with 12 additions and 1 deletions
|
@ -2,12 +2,14 @@
|
|||
, stdenv
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, python3
|
||||
, flex
|
||||
, bison
|
||||
, qt5
|
||||
, CoreServices
|
||||
, libiconv
|
||||
, spdlog
|
||||
, sqlite
|
||||
}:
|
||||
|
||||
|
@ -22,6 +24,14 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-FPI5ICdn9Tne/g9SP6jAQS813AAyoDNooDR/Hyvq6R4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "sys-spdlog-fix.patch";
|
||||
url = "https://github.com/doxygen/doxygen/commit/0df6da616f01057d28b11c8bee28443c102dd424.patch";
|
||||
hash = "sha256-7efkCQFYGslwqhIuPsLYTEiA1rq+mO0DuyQBMt0O+m0=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
python3
|
||||
|
@ -29,12 +39,13 @@ stdenv.mkDerivation rec {
|
|||
bison
|
||||
];
|
||||
|
||||
buildInputs = [ libiconv sqlite ]
|
||||
buildInputs = [ libiconv spdlog sqlite ]
|
||||
++ lib.optionals (qt5 != null) (with qt5; [ qtbase wrapQtAppsHook ])
|
||||
++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DICONV_INCLUDE_DIR=${libiconv}/include"
|
||||
"-Duse_sys_spdlog=ON"
|
||||
"-Duse_sys_sqlite3=ON"
|
||||
] ++ lib.optional (qt5 != null) "-Dbuild_wizard=YES";
|
||||
|
||||
|
|
Loading…
Reference in a new issue