8 maven.buildMavenPackage rec {
12 src = fetchFromGitHub {
16 hash = "sha256-lg8/diyGhfkUU0w7PEOlxb1WNpJZVDDllxMMsTIU/Cw=";
19 mvnHash = "sha256-yULCBHgctZZU3Deod+nQujssmUy+kgdFdgE3NUuFhOw=";
20 mvnParameters = "compile assembly:single -Dmaven.test.skip=true";
22 nativeBuildInputs = [ makeWrapper ];
27 mkdir -p $out/{bin,lib}
28 cp target/tabula-${version}-jar-with-dependencies.jar $out/lib/tabula.jar
30 makeWrapper ${jre}/bin/java $out/bin/tabula-java \
31 --add-flags "-cp $out/lib/tabula.jar" \
32 --add-flags "technology.tabula.CommandLineApp"
38 description = "A library for extracting tables from PDF files.";
40 tabula-java is the table extraction engine that powers
41 Tabula. You can use tabula-java as a command-line tool to
42 programmatically extract tables from PDFs.
44 homepage = "https://tabula.technology/";
45 license = licenses.mit;
46 maintainers = [ maintainers.jakewaksbaum ];
47 platforms = platforms.all;