1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/applications/misc/dbvisualizer/default.nix

26 lines
624 B
Nix
Raw Normal View History

{ stdenv, fetchurl, jre, makeWrapper }:
2015-04-09 04:10:12 +01:00
stdenv.mkDerivation {
2017-04-16 22:34:22 +01:00
name = "dbvisualizer-9.5.7";
2015-04-09 04:10:12 +01:00
src = fetchurl {
2017-04-16 22:34:22 +01:00
url = https://www.dbvis.com/product_download/dbvis-9.5.7/media/dbvis_unix_9_5_7.tar.gz;
sha256 = "1xv4fw7cji2ffvv7z8vjl5lap512pj60s2ynihirrqld7pmklnyr";
2015-04-09 04:10:12 +01:00
};
buildInputs = [ makeWrapper ];
2017-04-16 22:34:22 +01:00
2015-04-09 04:10:12 +01:00
installPhase = ''
mkdir -p $out/bin
cp -a . $out
2017-04-16 22:34:22 +01:00
ln -sf $out/dbvis $out/bin
2015-04-09 04:10:12 +01:00
wrapProgram $out/bin/dbvis --set INSTALL4J_JAVA_HOME ${jre}
'';
2017-04-16 22:34:22 +01:00
2015-04-09 04:10:12 +01:00
meta = {
description = "The universal database tool";
homepage = https://www.dbvis.com/;
license = stdenv.lib.licenses.unfree;
};
}