From 5d3a2602e12f5f98ff68a0aa0828b1e76249d37e Mon Sep 17 00:00:00 2001 From: Jeff Simpson Date: Wed, 8 Apr 2015 21:10:12 -0600 Subject: [PATCH] Package for dbvisualizer 9.2.5 --- .../misc/dbvisualizer/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/misc/dbvisualizer/default.nix diff --git a/pkgs/applications/misc/dbvisualizer/default.nix b/pkgs/applications/misc/dbvisualizer/default.nix new file mode 100644 index 000000000000..fd6ed0866cb3 --- /dev/null +++ b/pkgs/applications/misc/dbvisualizer/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, jre, coreutils, makeWrapper }: + +stdenv.mkDerivation { + name = "dbvisualizer-9.2.5"; + + src = fetchurl { + url = https://www.dbvis.com/product_download/dbvis-9.2.5/media/dbvis_unix_9_2_5.tar.gz; + sha256 = "e9d3374e96cf63903ebd9dae498c6b69403813eb8723187ed70f285dd7119327"; + }; + + buildInputs = [ makeWrapper ]; + + installPhase = '' + mkdir -p $out/bin + cp -a . $out + ln -sf $out/dbvis $out/bin + wrapProgram $out/bin/dbvis --set INSTALL4J_JAVA_HOME ${jre} + ''; + + meta = { + description = "The universal database tool"; + homepage = https://www.dbvis.com/; + license = stdenv.lib.licenses.unfree; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 766dd90d25a6..e20e1c048c92 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10195,6 +10195,8 @@ let inherit (gnome) GConf libglade; }; + dbvisualizer = callPackage ../applications/misc/dbvisualizer {}; + dd-agent = callPackage ../tools/networking/dd-agent { inherit (pythonPackages) tornado; }; deadbeef = callPackage ../applications/audio/deadbeef {