Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navicat-premium: init at 17.1.6 #344796

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions pkgs/by-name/na/navicat-premium/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
fetchurl,
appimageTools,
lib,
}:
let
pname = "navicat-premium";
version = "17.1.6";
src = fetchurl {
url = "https://web.archive.org/web/20241127151816/https://dn.navicat.com/download/navicat17-premium-en-x86_64.AppImage";
hash = "sha256-pH5hjHRuN29yBvsBrskCcwgXRUZ95iwEse2O3IiIvGo=";
};
appimageContents = appimageTools.extractType2 {
inherit pname version src;
};
in
appimageTools.wrapType2 {
inherit pname version src;

extraInstallCommands = ''
cp -r ${appimageContents}/usr/share $out/share
substituteInPlace $out/share/applications/navicat.desktop \
--replace-fail "Exec=navicat" "Exec=navicat-premium"
'';

meta = {
homepage = "https://www.navicat.com/products/navicat-premium";
description = "Database development tool that allows you to simultaneously connect to many databases";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ aucub ];
platforms = [ "x86_64-linux" ];
aucub marked this conversation as resolved.
Show resolved Hide resolved
mainProgram = "navicat-premium";
};
}