nixpkgs/pkgs/shells
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
..
any-nix-shell
bash bash: Fix OpenBSD build 2024-06-29 13:14:51 -04:00
carapace carapace: 1.0.3 -> 1.0.4 2024-06-30 17:38:04 +02:00
dash treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
es treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
fish Merge pull request #316304 from r-ryantm/auto-update/fishPlugins.forgit 2024-06-10 21:03:32 +00:00
fzf-git-sh Merge pull request #296261 from becknik/fix-fzf-git-sh2 2024-03-29 11:26:02 -07:00
hilbish treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
hishtory hishtory: 0.295 -> 0.297 2024-06-18 14:46:15 +00:00
ion treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
ksh ksh: reformat, use finalAttrs over rec 2024-05-15 09:21:57 +02:00
liquidprompt treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
mrsh treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
murex murex: 6.0.1000 -> 6.1.8300 2024-06-27 14:08:41 +00:00
nix-your-shell treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
nsh treewide: convert cargoSha256 to cargoHash 2024-07-03 21:54:10 +08:00
nushell nu_scripts: 0-unstable-2024-06-22 -> 0-unstable-2024-06-29 2024-06-29 22:33:40 +00:00
oh treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
oksh oksh: link to ncurses 2024-04-14 23:23:23 -04:00
powershell powershell: 7.4.2 -> 7.4.3 2024-06-20 10:59:44 +02:00
rc-9front treewide: Remove the definite article from meta.description 2024-06-09 23:08:46 +02:00
rush
scponly treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
yash yash: 2.55 -> 2.56.1 2024-03-21 09:15:22 +00:00
zsh maintainers: drop janik 2024-07-02 02:36:42 +02:00