nixpkgs/pkgs/applications
aleksana 1862813d11 treewide: convert cargoSha256 to cargoHash
This is done with the following bash script:

```
#!/usr/bin/env bash
process_line() {
    local filename=${1%:}
    if [[ $4 =~ \"(.*)\"\; ]]; then
      local sha256="${BASH_REMATCH[1]}"
    fi
    [[ -z $sha256 ]] && return 0
    local hash=$(nix hash to-sri --type sha256 $sha256)
    echo "Processing: $filename"
    echo "  $sha256 => $hash"
    sed -i "s|cargoSha256 = \"$sha256\"|cargoHash = \"$hash\"|"
$filename
}

# split output by line
grep -r 'cargoSha256 = ' . | while IFS= read -r line; do
    # split them further by space
    read -r -a parts <<< "$line"
    process_line "${parts[@]}"
done

```
2024-07-03 21:54:10 +08:00
..
accessibility
audio treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
backup Merge remote-tracking branch 'origin/master' into staging-next 2024-07-02 12:08:49 +02:00
blockchains Merge master into staging-next 2024-07-01 18:01:14 +00:00
display-managers treewide: convert cargoSha256 to cargoHash 2024-07-03 21:54:10 +08:00
editors treewide: convert cargoSha256 to cargoHash 2024-07-03 21:54:10 +08:00
emulators Merge branch 'staging-next' into staging 2024-07-02 22:23:14 +02:00
file-managers Merge remote-tracking branch 'origin/master' into staging-next 2024-07-02 12:08:49 +02:00
finance odoo: migrate to pkgs/by-name 2024-06-19 13:35:21 +00:00
gis Merge pull request #321562 from imincik/qgis-3.34.8 2024-06-28 18:59:28 +03:00
graphics treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
kde maintainers: drop lheckemann 2024-06-21 15:54:54 +02:00
logging/sosreport sosreport: 4.7.1 -> 4.7.2 2024-06-24 09:31:05 +00:00
maui
misc treewide: convert cargoSha256 to cargoHash 2024-07-03 21:54:10 +08:00
networking treewide: convert cargoSha256 to cargoHash 2024-07-03 21:54:10 +08:00
office Merge remote-tracking branch 'origin/master' into staging-next 2024-07-02 19:52:45 +03:00
plasma-mobile applications/plasma-mobile: Drop samueldr as maintainer 2024-06-20 20:42:52 -04:00
printing/pappl treewide: remove jonringer as package maintainer 2024-06-25 09:16:56 +02:00
qubes/qubes-core-vchan-xen
radio maintainers: drop janik 2024-07-02 02:36:42 +02:00
science treewide: convert cargoSha256 to cargoHash 2024-07-03 21:54:10 +08:00
search doodle: 0.7.2 -> 0.7.3 2024-06-30 00:21:03 +00:00
system treewide: remove jonringer as package maintainer 2024-06-25 09:16:56 +02:00
terminal-emulators xterm: move patches just after src 2024-06-29 09:43:01 +02:00
version-management treewide: convert cargoSha256 to cargoHash 2024-07-03 21:54:10 +08:00
video treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
virtualization treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
window-managers treewide: convert cargoSha256 to cargoHash 2024-07-03 21:54:10 +08:00