about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2018-02-24 12:28:49 +0100
committerJan Tojnar <jtojnar@gmail.com>2018-02-24 23:24:47 +0100
commit3dfe50ffb651f1bf33e0cadc9f736552c969f87a (patch)
tree480dc81d91677ceb1c94f5def2232febdb92f018 /pkgs/applications/misc
parent55d2daaf3157eda3304f1e96dd367eb0cedc3166 (diff)
sequeler: init at 0.5.3
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/sequeler/default.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/misc/sequeler/default.nix b/pkgs/applications/misc/sequeler/default.nix
new file mode 100644
index 0000000000000..9c86c6090a6a1
--- /dev/null
+++ b/pkgs/applications/misc/sequeler/default.nix
@@ -0,0 +1,40 @@
+{ stdenv, fetchFromGitHub
+, cmake, ninja, pkgconfig, vala, gobjectIntrospection, gettext, wrapGAppsHook
+, gtk3, glib, granite, libgee, libgda, gtksourceview, libxml2 }:
+
+
+let
+  version = "0.5.3";
+  sqlGda = libgda.override {
+    mysqlSupport = true;
+    postgresSupport = true;
+  };
+
+in stdenv.mkDerivation rec {
+  name = "sequeler-${version}";
+
+  src = fetchFromGitHub {
+    owner = "Alecaddd";
+    repo = "sequeler";
+    rev = "v${version}";
+    sha256 = "0m5zwl9jfdl1dzd1ymlwx7rx5cr9fdx06sbnidaajh33z02zaph0";
+  };
+
+  nativeBuildInputs = [ cmake ninja pkgconfig vala gobjectIntrospection gettext wrapGAppsHook ];
+
+  buildInputs = [ gtk3 glib granite libgee sqlGda gtksourceview libxml2 ];
+
+  meta = with stdenv.lib; {
+    description = "Friendly SQL Client";
+    longDescription = ''
+      Sequeler is a native Linux SQL client built in Vala and Gtk. It allows you
+      to connect to your local and remote databases, write SQL in a handy text
+      editor with language recognition, and visualize SELECT results in a
+      Gtk.Grid Widget.
+    '';
+    homepage = https://github.com/Alecaddd/sequeler;
+    license = licenses.gpl3;
+    maintainers = [ maintainers.etu ];
+    platforms = platforms.linux;
+  };
+}