at v206 25 lines 655 B view raw
1{ stdenv, fetchurl, jre, coreutils, makeWrapper }: 2 3stdenv.mkDerivation { 4 name = "dbvisualizer-9.2.5"; 5 6 src = fetchurl { 7 url = https://www.dbvis.com/product_download/dbvis-9.2.5/media/dbvis_unix_9_2_5.tar.gz; 8 sha256 = "e9d3374e96cf63903ebd9dae498c6b69403813eb8723187ed70f285dd7119327"; 9 }; 10 11 buildInputs = [ makeWrapper ]; 12 13 installPhase = '' 14 mkdir -p $out/bin 15 cp -a . $out 16 ln -sf $out/dbvis $out/bin 17 wrapProgram $out/bin/dbvis --set INSTALL4J_JAVA_HOME ${jre} 18 ''; 19 20 meta = { 21 description = "The universal database tool"; 22 homepage = https://www.dbvis.com/; 23 license = stdenv.lib.licenses.unfree; 24 }; 25}