8 stdenv.mkDerivation (finalAttrs: {
9 pname = "schemacrawler";
13 url = "https://github.com/schemacrawler/SchemaCrawler/releases/download/v${finalAttrs.version}/schemacrawler-${finalAttrs.version}-bin.zip";
14 hash = "sha256-wNvFutxB34gjBCwVPIj/5jjjk0/IjH0EbD++FxxuweM=";
17 nativeBuildInputs = [ makeWrapper ];
23 cp -r {config,lib} $out/
25 makeWrapper ${jre}/bin/java $out/bin/schemacrawler \
26 --add-flags "-cp $out/lib/*:$out/config" \
27 --add-flags schemacrawler.Main
32 preferLocalBuild = true;
35 description = "Database schema discovery and comprehension tool";
36 homepage = "https://www.schemacrawler.com/";
37 sourceProvenance = with sourceTypes; [ binaryBytecode ];
38 license = with licenses; [ epl10 gpl3Only lgpl3Only ];
39 platforms = platforms.unix;
40 maintainers = with maintainers; [ elohmeier ];