tableplus: init at 504
This commit is contained in:
parent
510e3f228f
commit
efc57086fb
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;
|
||||
};
|
||||
})
|
|
@ -41112,6 +41112,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