mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
87 lines
1.6 KiB
Nix
87 lines
1.6 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
gitUpdater,
|
|
vala,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
pantheon,
|
|
gettext,
|
|
wrapGAppsHook3,
|
|
desktop-file-utils,
|
|
gtk3,
|
|
glib,
|
|
libgee,
|
|
libgda5,
|
|
gtksourceview4,
|
|
libxml2,
|
|
libsecret,
|
|
libssh2,
|
|
}:
|
|
|
|
let
|
|
sqlGda = libgda5.override {
|
|
mysqlSupport = true;
|
|
postgresSupport = true;
|
|
};
|
|
|
|
in
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "sequeler";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ellie-commons";
|
|
repo = "sequeler";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-dFmR5SfzT/1UVwcnB3Y3kB1h0DapwN/2/KQAHiMpk/8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
gettext
|
|
wrapGAppsHook3
|
|
desktop-file-utils
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
glib
|
|
pantheon.granite
|
|
libgee
|
|
sqlGda
|
|
gtksourceview4
|
|
libxml2
|
|
libsecret
|
|
libssh2
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gitUpdater {
|
|
# Upstream frequently tags these to fix flatpak builds, which are mostly irrelevant to us.
|
|
ignoredVersions = "-";
|
|
rev-prefix = "v";
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
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/ellie-commons/sequeler";
|
|
license = lib.licenses.gpl3Plus;
|
|
teams = [ lib.teams.pantheon ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "io.github.ellie_commons.sequeler";
|
|
};
|
|
})
|