sqlitebrowser: enable support for encrypted databases

This commit is contained in:
Cedric Staniewski 2021-10-24 22:18:10 +02:00
parent 478cfa6f4b
commit 10bed7eeee

View File

@ -1,5 +1,5 @@
{ mkDerivation, lib, fetchFromGitHub, cmake
, qtbase, qttools, sqlite, wrapGAppsHook }:
, qtbase, qttools, sqlcipher, wrapGAppsHook }:
mkDerivation rec {
pname = "sqlitebrowser";
@ -16,10 +16,14 @@ mkDerivation rec {
# but qscintilla is currently in a bit of a mess as some consumers expect a
# -qt4 or -qt5 prefix while others do not.
# We *really* should get that cleaned up.
buildInputs = [ qtbase sqlite ];
buildInputs = [ qtbase sqlcipher ];
nativeBuildInputs = [ cmake qttools wrapGAppsHook ];
cmakeFlags = [
"-Dsqlcipher=1"
];
meta = with lib; {
description = "DB Browser for SQLite";
homepage = "https://sqlitebrowser.org/";