Merge pull request #225951 from yamashitax/add-tableplus

tableplus: init at 504
This commit is contained in:
Pol Dellaiera 2024-03-02 23:35:42 +01:00 committed by GitHub
commit 3581c4b381
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 45 additions and 0 deletions

View File

@ -21067,6 +21067,12 @@
githubId = 973709;
name = "Jairo Llopis";
};
yamashitax = {
email = "hello@yamashit.ax";
github = "yamashitax";
githubId = 99486674;
name = "";
};
yana = {
email = "yana@riseup.net";
github = "yanateras";

View File

@ -0,0 +1,37 @@
{ lib
, fetchurl
, undmg
, stdenv
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tableplus";
version = "504";
src = fetchurl {
url = "https://download.tableplus.com/macos/${finalAttrs.version}/TablePlus.dmg";
hash = "sha256-YFUquv71QFEnlmh93+HsFN6XtgoUx6CMOVqfdWAIWfo=";
};
sourceRoot = "TablePlus.app";
nativeBuildInputs = [ undmg ];
installPhase = ''
runHook preInstall
mkdir -p "$out/Applications/TablePlus.app"
cp -R . "$out/Applications/TablePlus.app"
mkdir "$out/bin"
ln -s "$out/Applications/TablePlus.app/Contents/MacOS/TablePlus" "$out/bin/${finalAttrs.pname}"
runHook postInstall
'';
meta = with lib; {
description = "Database management made easy";
homepage = "https://tableplus.com";
license = licenses.unfree;
maintainers = with maintainers; [ yamashitax ];
platforms = platforms.darwin;
};
})

View File

@ -40670,6 +40670,8 @@ with pkgs;
shellz = callPackage ../tools/security/shellz { };
tableplus = callPackage ../applications/misc/tableplus { };
timeloop = pkgs.darwin.apple_sdk_11_0.callPackage ../applications/science/computer-architecture/timeloop { };
canon-cups-ufr2 = callPackage ../misc/cups/drivers/canon { };