Commit Graph

80 Commits

Author SHA1 Message Date
R. Ryantm
41478c5c17 tesseract: 5.5.2 -> 5.5.3 2026-08-01 18:55:14 +00:00
Gergő Gutyina
0c1f517e7a various: use finalAttrs instead of rec, part 1 (#489110) 2026-02-21 12:32:25 +00:00
Stefan Frijters
597404d6dd tesseract3: move env variable(s) into env for structuredAttrs 2026-02-19 15:59:57 +01:00
Aliaksandr
3f26693a02 various: use finalAttrs instead of rec 2026-02-18 04:21:56 +02:00
R. Ryantm
eafb253225 tesseract: 5.5.1 -> 5.5.2 2025-12-28 03:30:00 +00:00
Aliaksandr
03bb7d8195 all-packages: do not export lib functions from pkgs 2025-10-30 22:38:49 +02:00
Patrick
268fce0c74 tesseract: fix passthru override 2025-09-08 14:17:36 +02:00
Philip Taron
df42f855db treewide: add --extra-experimental-features nix-command to nix hash invocations 2025-07-02 08:34:40 -07:00
R. Ryantm
87759ff72c tesseract: 5.5.0 -> 5.5.1 2025-05-25 22:10:18 +00:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Sandro Jäckel
8dffec1ef8 tesseract: remove explicit phases 2024-12-27 14:28:22 +01:00
Vladimír Čunát
39f0c2cff1 tesseract: ensure fixupPhase is run (#352788) 2024-12-23 10:48:33 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Patrick
efad626197 tesseract: 5.3.4 -> 5.5.0 2024-11-22 21:33:42 +01:00
Patrick
936c762b8e tesseract: add patrickdag as maintainer 2024-11-22 14:50:04 +01:00
Patrick
ff51f58e1d tesseract: format 2024-11-22 14:50:02 +01:00
Enno Richter
c1a3a2f36e tesseract: ensure fixupPhase is run, e.g. ensuring library codesigning on darwin 2024-11-01 05:58:10 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Anselm Schüler
e1354a3538 maintainers: partially remove anselmschueler 2024-08-03 19:09:47 +02:00
Anderson Torres
c9deae12d7 treewide: remove viric from meta.maintainers [no orphans]
Since theey is not active from at least six years.
2024-07-28 10:47:12 -03:00
Sigmanificient
0058552891 pkgs/applications: remove uneeded fetchpatch arguments 2024-05-21 03:12:20 +02:00
h7x4
8121f3559a treewide: add mainProgram 2024-02-11 03:19:15 +01:00
R. Ryantm
b104eff187 tesseract: 5.3.3 -> 5.3.4 2024-01-19 09:51:33 +00:00
Sergei Trofimovich
03b5cd0858 tesseract4: fix gcc-13 build failure
Without the change `tesseract4` fails the build on `staging-next` as
https://hydra.nixos.org/build/245356748:

    In file included from points.cpp:24:
    ../../src/ccutil/helpers.h:40:17: error: 'uint64_t' has not been declared
       40 |   void set_seed(uint64_t seed) {
          |                 ^~~~~~~~
2024-01-03 22:52:09 +00:00
Artturi
24d534960d Merge pull request #226660 from stweil/tesseract 2023-11-19 03:25:12 +02:00
R. Ryantm
19b35404a2 tesseract5: 5.3.2 -> 5.3.3 2023-10-20 23:22:13 +00:00
Robert Hensing
4c1d3cee60 treewide: Add meta.mainProgram
This should fix most warnings getExe in based on grepping `nixos/`.
2023-07-31 21:54:43 +02:00
R. Ryantm
7ff81c846f tesseract5: 5.3.1 -> 5.3.2 2023-07-15 20:31:24 +00:00
Stefan Weil
317a5d653f tesseract5: update dependencies
* remove unneeded dependency autoconf-archive
* add missing build input libarchive
* add missing build input curl

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-04-23 09:01:50 +02:00
R. Ryantm
1f1505cef4 tesseract5: 5.3.0 -> 5.3.1 2023-04-07 02:29:32 +00:00
Robert Scott
c623309976 tesseract: 3.05.00 -> 3.05.02
fix build with leptonica 1.83
2023-01-28 16:20:52 +00:00
Robert Scott
3b77f6c31b tesseract4: 4.1.1 -> 4.1.3
fix build with leptonica 1.83
2023-01-28 16:20:52 +00:00
R. Ryantm
fd284bf461 tesseract5: 5.2.0 -> 5.3.0 2022-12-25 04:48:50 +00:00
Sandro
d70ce02bf6 Merge pull request #186611 from viraptor/tesseract-5-darwin 2022-08-25 21:58:52 +02:00
Stanisław Pitucha
195833f20c tesseract5: fix darwin compilation 2022-08-25 21:33:28 +10:00
R. Ryantm
e15d874463 tesseract5: 5.1.0 -> 5.2.0 2022-08-14 03:07:17 +00:00
Erik Arvstedt
1a32663efc treewide: rename maintainer earvstedt -> erikarvstedt
The maintainer name now matches the Github username, which simplifies
maintainer notifications.
2022-06-26 19:12:18 +02:00
Anselm Schüler
92a849e613 tesseract5: init at 5.1.0 2022-05-02 13:44:04 +02:00
Anselm Schüler
1b38ecfc74 tesseract4.tessdata: 4.0.0 -> 4.1.0 2022-05-02 13:44:03 +02:00
Erik Arvstedt
7d2cee008b tesseract: add wrapper test 2022-05-02 13:44:03 +02:00
Erik Arvstedt
0532532835 tesseract: use multi-line build inputs format 2022-05-02 12:39:50 +02:00
Erik Arvstedt
683c50d805 tesseract: switch to SRI hash format 2022-05-02 12:39:49 +02:00
Erik Arvstedt
42b719a3be tesseract: fix fetch-language-hashes
- Don't match spaces in language names
- Remove duplicate languages
2022-05-02 12:39:49 +02:00
Artturin
e50c9981d3 tesseract4: apply patches to fix build on aarch64-darwin 2021-11-14 16:21:22 +02:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Pavol Rusnak
a6ce00c50c treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00