1 { lib, stdenv, mkDerivation, fetchFromGitHub, cmake
2 , qtbase, qttools, sqlcipher, wrapGAppsHook, qtmacextras
6 pname = "sqlitebrowser";
9 src = fetchFromGitHub {
13 sha256 = "sha256-33iVic0kxemWld+SiHOWGlKFSi5fpk1RtLUiNDr7WNI=";
16 # We should be using qscintilla from nixpkgs instead of the vendored version,
17 # but qscintilla is currently in a bit of a mess as some consumers expect a
18 # -qt4 or -qt5 prefix while others do not.
19 # We *really* should get that cleaned up.
20 buildInputs = [ qtbase sqlcipher ] ++ lib.optionals stdenv.isDarwin [ qtmacextras ];
22 nativeBuildInputs = [ cmake qttools wrapGAppsHook ];
29 description = "DB Browser for SQLite";
30 mainProgram = "sqlitebrowser";
31 homepage = "https://sqlitebrowser.org/";
32 license = licenses.gpl3;
33 maintainers = with maintainers; [ peterhoeg ];
34 platforms = platforms.unix;