@@ -1,41 +0,0 @@
|
||||
{ lib, stdenv, fetchzip, jre, makeWrapper }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tabula";
|
||||
version = "1.2.1";
|
||||
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/tabulapdf/tabula/releases/download/v${version}/tabula-jar-${version}.zip";
|
||||
sha256 = "0lkpv8hkji81fanyxm7ph8421fr9a6phqc3pbhw2bc4gljg7sgxi";
|
||||
};
|
||||
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out/share/tabula
|
||||
cp -v * $out/share/tabula
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/tabula --add-flags "-jar $out/share/tabula/tabula.jar"
|
||||
'';
|
||||
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for liberating data tables locked inside PDF files";
|
||||
longDescription = ''
|
||||
If you’ve ever tried to do anything with data provided to you in PDFs, you
|
||||
know how painful it is — there's no easy way to copy-and-paste rows of data
|
||||
out of PDF files. Tabula allows you to extract that data into a CSV or
|
||||
Microsoft Excel spreadsheet using a simple, easy-to-use interface.
|
||||
'';
|
||||
homepage = "https://tabula.technology/";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.dpaetzel ];
|
||||
platforms = platforms.all;
|
||||
broken = true; # on 2022-11-23 this package builds, but produces an executable that fails immediately
|
||||
};
|
||||
}
|
||||
@@ -1341,6 +1341,7 @@ mapAliases ({
|
||||
|
||||
### T ###
|
||||
|
||||
tabula = throw "tabula has been removed from nixpkgs, as it was broken"; # Added 2024-07-15
|
||||
tangogps = foxtrotgps; # Added 2020-01-26
|
||||
taplo-cli = taplo; # Added 2022-07-30
|
||||
taplo-lsp = taplo; # Added 2022-07-30
|
||||
|
||||
@@ -34260,8 +34260,6 @@ with pkgs;
|
||||
|
||||
taskjuggler = callPackage ../applications/misc/taskjuggler { };
|
||||
|
||||
tabula = callPackage ../applications/misc/tabula { };
|
||||
|
||||
tabula-java = callPackage ../applications/misc/tabula-java { };
|
||||
|
||||
tasknc = callPackage ../applications/misc/tasknc { };
|
||||
|
||||
Reference in New Issue
Block a user