Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: ccusage 20.0.6 -> 20.0.18 https://github.com/ccusage/ccusage/releases
attrpath: ccusage
Checking auto update branch...
[version]
[version] generic version rewriter does not support multiple hashes
[rustCrateVersion]
[rustCrateVersion] skipping because derivation has updateScript
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/vd2a70r1ciihzcpi07j95js44lpmkfpj-packages.json.drv
building '/nix/store/vd2a70r1ciihzcpi07j95js44lpmkfpj-packages.json.drv'...
Going to be running update for following packages:
- ccusage-20.0.6
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- ccusage-20.0.6: UPDATING ...
- ccusage-20.0.6: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/cc/ccusage/package.nix b/pkgs/by-name/cc/ccusage/package.nix
index cad32ecb86ea..347647b87c54 100644
--- a/pkgs/by-name/cc/ccusage/package.nix
+++ b/pkgs/by-name/cc/ccusage/package.nix
@@ -28,20 +28,20 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ccusage";
- version = "20.0.6";
+ version = "20.0.18";
src = fetchFromGitHub {
owner = "ccusage";
repo = "ccusage";
tag = "v${finalAttrs.version}";
- hash = "sha256-uf/FlPprxx4jh74YwjmYMtoIHpTkKrWTLetbNoYiFv4=";
+ hash = "sha256-vtxaUrzX9389M6GIfdbgmt+Z3lwCb1XgcLtdNj1lFWo=";
};
# The Cargo workspace lives in rust/, not at the repo root.
cargoRoot = "rust";
buildAndTestSubdir = "rust";
- cargoHash = "sha256-izA2Gs5nPmt0zn6/e1xM80vyyQHYKGEUDpUFRpyFiB8=";
+ cargoHash = "sha256-/sJ4c7F8tuiTxo2sUqgpB6z3rEC0BZlLn1FToz1Oe+g=";
__structuredAttrs = true;
strictDeps = true;
No auto update branch exists
Successfully finished processing
[check][nixpkgs-review]
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `11e89ffde5ae23135f5fe2f233adada4c6827ede`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
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 ccusage is: Analyze coding agent CLI token usage and costs from local data
meta.homepage for ccusage is: https://github.com/ccusage/ccusage
meta.changelog for ccusage is: https://github.com/ccusage/ccusage/releases/tag/v20.0.18
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 20.0.18 with grep in /nix/store/89f6vk79g14fwhdkcqaz9pfkdxnky230-ccusage-20.0.18
- found 20.0.18 in filename of file in /nix/store/89f6vk79g14fwhdkcqaz9pfkdxnky230-ccusage-20.0.18
---
Rebuild report (if merged into master) (click to expand)
```
4 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
ccusage
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/89f6vk79g14fwhdkcqaz9pfkdxnky230-ccusage-20.0.18 \
--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 ccusage https://github.com/r-ryantm/nixpkgs/archive/11e89ffde5ae23135f5fe2f233adada4c6827ede.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/11e89ffde5ae23135f5fe2f233adada4c6827ede#ccusage
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/89f6vk79g14fwhdkcqaz9pfkdxnky230-ccusage-20.0.18
ls -la /nix/store/89f6vk79g14fwhdkcqaz9pfkdxnky230-ccusage-20.0.18/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.
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `11e89ffde5ae23135f5fe2f233adada4c6827ede`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
---
###### Maintainer pings
cc @thrix 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/544766