add sqliteman package
This commit is contained in:
parent
30597a9c7a
commit
52c311547c
31
pkgs/applications/misc/sqliteman/default.nix
Normal file
31
pkgs/applications/misc/sqliteman/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl, cmake, qt4, qscintilla }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sqliteman";
|
||||
version = "1.2.0-c41b89e1";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://github.com/pvanek/sqliteman/archive/1.2.0.tar.gz;
|
||||
sha256 = "1x4ppwf01jdnz3a4ycia6vv5qf3w2smbqx690z1pnkwbvk337akm";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake qt4 qscintilla ];
|
||||
|
||||
prePatch = ''
|
||||
sed -i 's,m_file(0),m_file(QString()),' Sqliteman/sqliteman/main.cpp
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
cd Sqliteman
|
||||
sed -i 's,/usr/include/Qsci,${qscintilla}/include/Qsci,' cmake/modules/FindQScintilla.cmake
|
||||
sed -i 's,PATHS ''${QT_LIBRARY_DIR},PATHS ${qscintilla}/libs,' cmake/modules/FindQScintilla.cmake
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Sqliteman is simple but powerfull Sqlite3 GUI database manager.";
|
||||
homepage = http://sqliteman.yarpen.cz/;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.eikek ];
|
||||
};
|
||||
}
|
@ -2377,6 +2377,8 @@ let
|
||||
|
||||
sproxy-web = haskellPackages.callPackage ../tools/networking/sproxy-web { };
|
||||
|
||||
sqliteman = callPackage ../applications/misc/sqliteman { };
|
||||
|
||||
stardict = callPackage ../applications/misc/stardict/stardict.nix {
|
||||
inherit (gnome) libgnomeui scrollkeeper;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user