1 { lib, stdenv, fetchFromGitHub, cmake, qt4, qscintilla-qt4 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1blzyh1646955d580f71slgdvz0nqx0qacryx0jc9w02yrag17cs";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ qt4 qscintilla-qt4 ];
18 sed -i 's,m_file(0),m_file(QString()),' Sqliteman/sqliteman/main.cpp
23 sed -i 's,/usr/include/Qsci,${qscintilla-qt4}/include/Qsci,' cmake/modules/FindQScintilla.cmake
24 sed -i 's,PATHS ''${QT_LIBRARY_DIR},PATHS ${qscintilla-qt4}/libs,' cmake/modules/FindQScintilla.cmake
28 description = "A simple but powerful Sqlite3 GUI database manager";
29 homepage = "http://sqliteman.yarpen.cz/";
30 license = licenses.gpl2Plus;
31 platforms = platforms.linux;
32 maintainers = [ maintainers.eikek ];