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 homepage = "https://sqlitebrowser.org/";
31 license = licenses.gpl3;
32 maintainers = with maintainers; [ peterhoeg ];
33 platforms = platforms.unix;