qownnotes: use system botan
This commit is contained in:
parent
80264b939d
commit
14df2b8df8
|
@ -11,6 +11,8 @@
|
||||||
, qt5compat
|
, qt5compat
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
|
, botan2
|
||||||
|
, pkg-config
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -30,6 +32,7 @@ stdenv.mkDerivation {
|
||||||
qmake
|
qmake
|
||||||
qttools
|
qttools
|
||||||
wrapQtAppsHook
|
wrapQtAppsHook
|
||||||
|
pkg-config
|
||||||
] ++ lib.optionals stdenv.isDarwin [ makeWrapper ];
|
] ++ lib.optionals stdenv.isDarwin [ makeWrapper ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -38,8 +41,13 @@ stdenv.mkDerivation {
|
||||||
qtsvg
|
qtsvg
|
||||||
qtwebsockets
|
qtwebsockets
|
||||||
qt5compat
|
qt5compat
|
||||||
|
botan2
|
||||||
] ++ lib.optionals stdenv.isLinux [ qtwayland ];
|
] ++ lib.optionals stdenv.isLinux [ qtwayland ];
|
||||||
|
|
||||||
|
qmakeFlags = [
|
||||||
|
"USE_SYSTEM_BOTAN=1"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
# Create a lowercase symlink for Linux
|
# Create a lowercase symlink for Linux
|
||||||
lib.optionalString stdenv.isLinux ''
|
lib.optionalString stdenv.isLinux ''
|
||||||
|
|
Loading…
Reference in a new issue