3
0
Fork 0
forked from mirrors/nixpkgs

dbeaver: 5.3.0 -> 6.0.2

With the required changes for the eclipse update.
This commit is contained in:
Samuel Dionne-Riel 2019-04-14 13:22:40 -04:00
parent 0c0954781e
commit 6a6d6cdc0d
2 changed files with 8 additions and 6 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, makeDesktopItem, makeWrapper
, fontconfig, freetype, glib, gtk2
, fontconfig, freetype, glib, gtk3
, jdk, libX11, libXrender, libXtst, zlib }:
# The build process is almost like eclipse's.
@ -7,7 +7,7 @@
stdenv.mkDerivation rec {
name = "dbeaver-ce-${version}";
version = "6.0.0";
version = "6.0.2";
desktopItem = makeDesktopItem {
name = "dbeaver";
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
fontconfig freetype glib gtk2
fontconfig freetype glib gtk3
jdk libX11 libXrender libXtst zlib
];
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
sha256 = "1v7zvvphkyw7x5ziysk4gs2rpgc4dr108fn4ja80kijs1jmj5dxr";
sha256 = "12zqz9zi4jryvlk1rjxfl4jdj4a6n00018yyk95glfdrxda2xyib";
};
installPhase = ''
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
makeWrapper $out/dbeaver/dbeaver $out/bin/dbeaver \
--prefix PATH : ${jdk}/bin \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk2 libXtst ])} \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk3 libXtst ])} \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
# Create desktop item.

View file

@ -2257,7 +2257,9 @@ in
davfs2 = callPackage ../tools/filesystems/davfs2 { };
dbeaver = callPackage ../applications/misc/dbeaver { };
dbeaver = callPackage ../applications/misc/dbeaver {
jdk = jdk11;
};
dbench = callPackage ../development/tools/misc/dbench { };