11 python3.pkgs.buildPythonApplication rec {
12 pname = "invoice2data";
14 format = "setuptools";
16 src = fetchFromGitHub {
20 hash = "sha256-pAvkp8xkHYi/7ymbxaT7/Jhu44j2P8emm8GyXC6IBnI=";
24 # https://github.com/invoice-x/invoice2data/pull/522
26 name = "clean-up-build-dependencies.patch";
27 url = "https://github.com/invoice-x/invoice2data/commit/ccea3857c7c8295ca51dc24de6cde78774ea7e64.patch";
28 hash = "sha256-BhqPW4hWG/EaR3qBv5a68dcvIMrCCT74GdDHr0Mss5Q=";
32 nativeBuildInputs = with python3.pkgs; [
36 propagatedBuildInputs = with python3.pkgs; [
44 makeWrapperArgs = ["--prefix" "PATH" ":" (lib.makeBinPath [
51 # Tests fails even when ran manually on my ubuntu machine !!
54 pythonImportsCheck = [
59 description = "Data extractor for PDF invoices";
60 mainProgram = "invoice2data";
61 homepage = "https://github.com/invoice-x/invoice2data";
62 license = licenses.mit;
63 maintainers = with maintainers; [ psyanticy ];