Skip to content
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

haskellPackages.pdftotext: break #329585

Merged
merged 2 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3121,4 +3121,17 @@ self: super: {
sha256 = "sha256-1QEaoO8BTdvfFzMrybrf0v7cK0NbYrWOj4Mqexr+ylc=";
}) super.avro;

pdftotext = overrideCabal (drv: {
postPatch = ''
# Fixes https://todo.sr.ht/~geyaeb/haskell-pdftotext/6
substituteInPlace pdftotext.cabal --replace-quiet c-sources cxx-sources

# Fix cabal ignoring cxx because the cabal format version is too old
substituteInPlace pdftotext.cabal --replace-quiet ">=1.10" 2.2

# Fix wrong license name that breaks recent cabal version
substituteInPlace pdftotext.cabal --replace-quiet BSD3 BSD-3-Clause
'' + (drv.postPatch or "");
}) (doJailbreak (addExtraLibrary pkgs.pkg-config (addExtraLibrary pkgs.poppler super.pdftotext)));

} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
Original file line number Diff line number Diff line change
Expand Up @@ -4430,7 +4430,6 @@ broken-packages:
- pdfinfo # failure in job https://hydra.nixos.org/build/233214432 at 2023-09-02
- pdf-slave-template # failure in job https://hydra.nixos.org/build/233217870 at 2023-09-02
- pdf-toolbox-viewer # failure in job https://hydra.nixos.org/build/233196461 at 2023-09-02
- pdftotext # failure in job https://hydra.nixos.org/build/233242086 at 2023-09-02
- pdynload # failure in job https://hydra.nixos.org/build/233226504 at 2023-09-02
- PeanoWitnesses # failure in job https://hydra.nixos.org/build/233207451 at 2023-09-02
- pecoff # failure in job https://hydra.nixos.org/build/233231268 at 2023-09-02
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ package-maintainers:
- typerep-map
- minio-hs
- smtp-mail
- pdftotext

unsupported-platforms:
Allure: [ platforms.darwin ]
Expand Down
2 changes: 0 additions & 2 deletions pkgs/development/haskell-modules/hackage-packages.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.