Merge pull request #41256 from Assassinkin/Invoice2Data

invoice2data: init at 0.2.93
This commit is contained in:
Frederik Rietdijk 2018-05-30 17:53:32 +02:00 committed by GitHub
commit 6c00639417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, python3Packages, xpdf, imagemagick, tesseract }:
python3Packages.buildPythonPackage rec {
pname = "invoice2data";
version = "0.2.93";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1phz0a8jxg074k0im7shrrdfvdps7bn1fa4zwcf8q3sa2iig26l4";
};
makeWrapperArgs = ["--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ imagemagick xpdf tesseract ]}" ];
propagatedBuildInputs = with python3Packages; [ unidecode dateparser pyyaml pillow chardet pdfminer ];
# Tests fails even when ran manually on my ubuntu machine !!
doCheck = false;
meta = with stdenv.lib; {
description = "Data extractor for PDF invoices";
homepage = https://github.com/invoice-x/invoice2data;
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}

View File

@ -3099,6 +3099,8 @@ with pkgs;
intecture-cli = callPackage ../tools/admin/intecture/cli.nix { };
invoice2data = callPackage ../tools/text/invoice2data { };
iodine = callPackage ../tools/networking/iodine { };
ioping = callPackage ../tools/system/ioping { };