1 { lib, stdenv, fetchFromGitHub, nix-update-script
2 , vala, meson, ninja, pkg-config, pantheon, gettext, wrapGAppsHook3, python3, desktop-file-utils
3 , gtk3, glib, libgee, libgda, gtksourceview, libxml2, libsecret, libssh2 }:
7 sqlGda = libgda.override {
9 postgresSupport = true;
12 in stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-MsHHTYERe0v+u3KnVtx+jmJTKORJTJ7bNfJMZHV9Ly4=";
23 nativeBuildInputs = [ meson ninja pkg-config vala gettext wrapGAppsHook3 python3 desktop-file-utils ];
25 buildInputs = [ gtk3 glib pantheon.granite libgee sqlGda gtksourceview libxml2 libsecret libssh2 ];
28 chmod +x build-aux/meson_post_install.py
29 patchShebangs build-aux/meson_post_install.py
33 updateScript = nix-update-script { };
37 description = "Friendly SQL Client";
39 Sequeler is a native Linux SQL client built in Vala and Gtk. It allows you
40 to connect to your local and remote databases, write SQL in a handy text
41 editor with language recognition, and visualize SELECT results in a
44 homepage = "https://github.com/Alecaddd/sequeler";
45 license = licenses.gpl3;
46 maintainers = with maintainers; [ ] ++ teams.pantheon.members;
47 platforms = platforms.linux;
48 mainProgram = "com.github.alecaddd.sequeler";