Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: leptonica 0 -> 1
attrpath: leptonica
Checking auto update branch...
[version]
[version] skipping because derivation has updateScript
[rustCrateVersion]
[rustCrateVersion] No cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/ybdfclg918gv2k10l2q1qv6dl0vnp75b-packages.json.drv
building '/nix/store/ybdfclg918gv2k10l2q1qv6dl0vnp75b-packages.json.drv'...
Going to be running update for following packages:
- leptonica-1.87.0
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- leptonica-1.87.0: UPDATING ...
- leptonica-1.87.0: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/le/leptonica/package.nix b/pkgs/by-name/le/leptonica/package.nix
index 6eeb122be309..d7b524198cc8 100644
--- a/pkgs/by-name/le/leptonica/package.nix
+++ b/pkgs/by-name/le/leptonica/package.nix
@@ -18,13 +18,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "leptonica";
- version = "1.87.0";
+ version = "1.87.0-pre1";
src = fetchFromGitHub {
owner = "DanBloomBerg";
repo = "leptonica";
rev = finalAttrs.version;
- hash = "sha256-d67gxWmWN3WfSPuHrjpC+emLyQswJbKV7gzm7D4bpI0=";
+ hash = "sha256-AURgV1CINBv1OxUNoWUf7sr6K4j+Zm/qCyxUweBaiNQ=";
};
nativeBuildInputs = [
No auto update branch exists
Successfully finished processing
[check][nixpkgs-review]
[check][nixpkgs-review] report.md does not exist
:x: nixpkgs-review failed
Automatic update generated by [nixpkgs-update](https://github.com/nix-community/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for leptonica is: Image processing and analysis library
meta.homepage for leptonica is: http://www.leptonica.org/
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
- [Release on GitHub](https://github.com/DanBloomberg/leptonica/releases/tag/1.87.0-pre1)
- [Compare changes on GitHub](https://github.com/DanBloomBerg/leptonica/compare/1.87.0...1.87.0-pre1)
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 1.87.0-pre1 in filename of file in /nix/store/p1hz4s1yd9kncq9ndf7d12z1gzx9als0-leptonica-1.87.0-pre1
---
Rebuild report (if merged into master) (click to expand)
```
143 total rebuild path(s)
143 package rebuild(s)
First fifty rebuilds by attrpath
almanah
apvlv
arcan
arcan-all-wrapped
arcan-wrapped
babeldoc
browsr
cardimpose
cat9-wrapped
ccextractor
censor
cosmic-reader
crow-translate
docling
docling-serve
durden-wrapped
evolution
evolution-ews
evolutionWithPlugins
gImageReader
gImageReader-qt
gimagereader
gimagereader-qt
gnome-frog
gradia
gscan2pdf
howdy
invoice2data
jbig2enc
k2pdfopt
kcc
kdePackages.skanpage
kdePackages.spectacle
leptonica
libretranslate
linux-enable-ir-emitter
liteparse
lue
manga-cli
mcomix
newelle
normcap
ocrfeeder
ocrmypdf
ocrodjvu
paperless-ngx
paperwork
pdfsandwich
perl5Packages.ImageOCRTesseract
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/p1hz4s1yd9kncq9ndf7d12z1gzx9als0-leptonica-1.87.0-pre1 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A leptonica https://github.com/r-ryantm/nixpkgs/archive/eba89cfc5a75e879d51ff50d9c0458ba697b46a3.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/eba89cfc5a75e879d51ff50d9c0458ba697b46a3#leptonica
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/p1hz4s1yd9kncq9ndf7d12z1gzx9als0-leptonica-1.87.0-pre1
ls -la /nix/store/p1hz4s1yd9kncq9ndf7d12z1gzx9als0-leptonica-1.87.0-pre1/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
:x: nixpkgs-review failed
---
###### Maintainer pings
cc @PatrickDaG for [testing](https://github.com/nix-community/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
> [!TIP]
> As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot).
https://api.github.com/repos/NixOS/nixpkgs/pulls/518166