mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
Merge pull request #140700 from milogert/add-beekeeper-studio
This commit is contained in:
commit
761a12153e
|
@ -7377,6 +7377,12 @@
|
||||||
githubId = 7610974;
|
githubId = 7610974;
|
||||||
name = "Jason Miller";
|
name = "Jason Miller";
|
||||||
};
|
};
|
||||||
|
milogert = {
|
||||||
|
email = "milo@milogert.com";
|
||||||
|
github = "milogert";
|
||||||
|
githubId = 5378535;
|
||||||
|
name = "Milo Gertjejansen";
|
||||||
|
};
|
||||||
miltador = {
|
miltador = {
|
||||||
email = "miltador@yandex.ua";
|
email = "miltador@yandex.ua";
|
||||||
name = "Vasiliy Solovey";
|
name = "Vasiliy Solovey";
|
||||||
|
|
40
pkgs/development/tools/database/beekeeper-studio/default.nix
Normal file
40
pkgs/development/tools/database/beekeeper-studio/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ lib, fetchurl, appimageTools, pkgs }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "beekeeper-studio";
|
||||||
|
version = "2.1.4";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v${version}/Beekeeper-Studio-${version}.AppImage";
|
||||||
|
name="${pname}-${version}.AppImage";
|
||||||
|
sha512 = "1aik88wi9axv66axjmmjmlna1sp0pz92z8i2x6pq3bs0gcs4i1q3qxxbrfc14ynbpa65knimfhwzrrshchnijgdazx3qjzh8jwzfiwl";
|
||||||
|
};
|
||||||
|
|
||||||
|
appimageContents = appimageTools.extractType2 {
|
||||||
|
inherit name src;
|
||||||
|
};
|
||||||
|
in appimageTools.wrapType2 {
|
||||||
|
inherit name src;
|
||||||
|
|
||||||
|
multiPkgs = null; # no 32bit needed
|
||||||
|
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs ++ [ pkgs.bash ];
|
||||||
|
|
||||||
|
extraInstallCommands = ''
|
||||||
|
ln -s $out/bin/${name} $out/bin/${pname}
|
||||||
|
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
|
||||||
|
install -m 444 -D ${appimageContents}/${pname}.png \
|
||||||
|
$out/share/icons/hicolor/512x512/apps/${pname}.png
|
||||||
|
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||||
|
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more. Linux, MacOS, and Windows";
|
||||||
|
homepage = "https://www.beekeeperstudio.io";
|
||||||
|
changelog = "https://github.com/beekeeper-studio/beekeeper-studio/releases/tag/v2.1.4";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ milogert ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -11085,6 +11085,8 @@ with pkgs;
|
||||||
|
|
||||||
avra = callPackage ../development/compilers/avra { };
|
avra = callPackage ../development/compilers/avra { };
|
||||||
|
|
||||||
|
beekeeper-studio = callPackage ../development/tools/database/beekeeper-studio { };
|
||||||
|
|
||||||
bigloo = callPackage ../development/compilers/bigloo { };
|
bigloo = callPackage ../development/compilers/bigloo { };
|
||||||
|
|
||||||
binaryen = callPackage ../development/compilers/binaryen { };
|
binaryen = callPackage ../development/compilers/binaryen { };
|
||||||
|
|
Loading…
Reference in a new issue