New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invoice2data: init at 0.2.93 #40925
invoice2data: init at 0.2.93 #40925
Conversation
These make libraries installed in the system or even user profiles magically available.
@Assassinkin thanks for the PR! Can you please rebase your commits, and fix the messages to look like described in CONTRIBUTING.md? There's commits in there doing various things to |
5d5265b
to
7ede00f
Compare
@flokli Thanks. rebased and updated the commit message. |
According to invoice2data/input, valid input readers are one of I'd suggest to either prefix Any idea how |
@GrahamcOfBorg build pythonPackages.invoice2data . |
Success on aarch64-linux (full log) Attempted: pythonPackages.invoice2data The following builds were skipped because they don't evaluate on aarch64-linux: . Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: pythonPackages.invoice2data The following builds were skipped because they don't evaluate on x86_64-linux: . Partial log (click to expand)
|
@flokli Thanks for the review. I Included the binaries in the PATH as you suggested. For |
upstream issue for the pdfminer input reader: invoice-x/invoice2data#132 |
@@ -9,15 +9,17 @@ buildPythonPackage rec { | |||
sha256 = "0p3ka85n0qmdkrjffvqgcj3pbl002srrlcjdk8pyhhwg6b78d4l7"; | |||
}; | |||
|
|||
makeWrapperArgs = ["--prefix" "PATH" ":" "${tesseract}/bin/tesseract:${imagemagick}/bin/convert:${xpdf}/bin/pdftotext" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't work, you need to just add the path to packages 'bin' directory, not the executable itself.
For multiple packages, this can also look like this:
makeWrapperArgs = ["--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ imagemagick tesseract xpdf ]}"];
license = licenses.gpl3; | ||
description = "Data extractor for PDF invoices - invoice2data"; | ||
homepage = https://github.com/invoice-x/invoice2data; | ||
license = licenses.mit; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed the meta block in my last review. Can you squash that into the first commit, so the remains of gpgmailencrypt
are gone? (or squash everything together)
@flokli Rebased the branch. |
One of the maintainer of the package replyed on invoice-x/invoice2data#132 :
I think we can either put this PR on hold till |
I'd say it's fine to leave it broken, maybe we should add a comment in our .nix file, in case sb wonders :-) Can you test and bump to |
@GrahamcOfBorg build pythonPackages.invoice2data |
Success on x86_64-darwin (full log) Attempted: pythonPackages.invoice2data Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: pythonPackages.invoice2data Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: pythonPackages.invoice2data Partial log (click to expand)
|
segfaults with qt5.10, downgrade to 5.9 tries to load its homegrown libqxcb.so which does not find some libs, use nixpkgs libqxcb.so instead.
Fix build with libnetfilter_conntrack 1.0.7.
If test_xmlast runs before test_pyPEG2, the tests fail with: ERROR: runTest (pypeg2.test.test_pyPEG2.ParseInvisibleTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/pyPEG2-2.15.2/pypeg2/test/test_pyPEG2.py", line 258, in runTest self.assertEqual(r._ignore1, None) AttributeError: 'C1' object has no attribute '_ignore1' https://hydra.nixos.org/build/74632015
* terminus: gnome2 cleanup * terminus: use toplevel gtk2
spectral-cube: init at 0.4.2
sddm: add support for hidpi mode
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/thttpd/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/hbab4sxrd03rn29fr2hzxcqhdb11ac7r-thttpd-2.29/bin/htpasswd had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/hbab4sxrd03rn29fr2hzxcqhdb11ac7r-thttpd-2.29/bin/makeweb had a zero exit code or showed the expected version - /nix/store/hbab4sxrd03rn29fr2hzxcqhdb11ac7r-thttpd-2.29/bin/syslogtocern passed the binary check. - /nix/store/hbab4sxrd03rn29fr2hzxcqhdb11ac7r-thttpd-2.29/bin/thttpd passed the binary check. - 2 of 4 passed binary check by having a zero exit code. - 0 of 4 passed binary check by having the new version present in output. - found 2.29 with grep in /nix/store/hbab4sxrd03rn29fr2hzxcqhdb11ac7r-thttpd-2.29 - directory tree listing: https://gist.github.com/e0eb71192cc958ded9003250a4a4f65b - du listing: https://gist.github.com/890be31bcaa84f99915896503cde2679
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/rr/versions. These checks were done: - built on NixOS - /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/signal-rr-recording.sh passed the binary check. - Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_64 had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_64_replay had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_32 had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_32_replay had a zero exit code or showed the expected version - /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr passed the binary check. - Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_exec_stub had a zero exit code or showed the expected version - 2 of 7 passed binary check by having a zero exit code. - 1 of 7 passed binary check by having the new version present in output. - found 5.2.0 with grep in /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0 - directory tree listing: https://gist.github.com/74edbd75eb39af483431d15e9b4c34a8 - du listing: https://gist.github.com/a6983da3782900061246fd222ecc50f9
…into Invoice2data
Sorry about that closing and restarting with a new branch |
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)