mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
Merge pull request #225951 from yamashitax/add-tableplus
tableplus: init at 504
This commit is contained in:
commit
3581c4b381
@ -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";
|
||||
|
37
pkgs/applications/misc/tableplus/default.nix
Normal file
37
pkgs/applications/misc/tableplus/default.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user