1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/tools/X11
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
..
alttab
arandr treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
autocutsel
bgs
bumblebee
caffeine-ng treewide: wrapGAppsHook → wrapGAppsHook3 2024-04-27 02:23:22 +02:00
ckbcomp ckbcomp: 1.227 -> 1.228 2024-06-20 06:44:59 +00:00
devour
dex treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
dispad treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
ffcast
find-cursor
focus
go-sct
gobble
grobi
hsetroot
icon-slicer
imwheel pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
inputplug treewide: convert cargoSha256 to cargoHash 2024-07-03 21:54:10 +08:00
jumpapp treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
kdocker
keynav
ksuperkey treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
libstrangle
mmutils treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
ncview
nitrogen treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
numlockx
nx-libs pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
obconf treewide: wrapGAppsHook → wrapGAppsHook3 2024-04-27 02:23:22 +02:00
opentabletdriver treewide: wrapGAppsHook → wrapGAppsHook3 2024-04-27 02:23:22 +02:00
paperview treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
pmenu treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
primus
ratmen treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
run-scaled
runningx treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
sbs pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
screen-message
sct treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
setroot
skippy-xd skippy-xd: dreamcat4 0.6.0 -> felixfung 0.7.2 2024-04-27 23:32:15 +03:00
smart-wallpaper treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
srandrd
sselp
vdpauinfo
virtualgl
wayv treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
wmctrl pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
wmutils-core
wmutils-libwm treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
wmutils-opt
wpgtk adwaita-icon-theme: Move from gnome scope to top-level 2024-07-01 08:26:46 +02:00
x2vnc treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
x2x
x11spice
x11vnc treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xannotate treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xautomation
xbanish
xbindkeys
xbindkeys-config
xborders treewide: wrapGAppsHook → wrapGAppsHook3 2024-04-27 02:23:22 +02:00
xbrightness
xcalib treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xcape
xchainkeys treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xcwd
xdg-utils Merge staging-next into staging 2024-06-10 00:02:49 +00:00
xdotool
xdragon
xgeometry-select
xidlehook treewide: convert cargoSha256 to cargoHash 2024-07-03 21:54:10 +08:00
xinput_calibrator treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xkb-switch
xkb-switch-i3 xkb-switch-i3: 1.8.5 -> 2.0.1 2024-05-09 11:37:48 +00:00
xkbset
xkbvalidate
xkeysnail
xlayoutdisplay
xloadimage maintainers: remove andrew-d as a maintainer 2024-04-27 14:05:07 -04:00
xlogo
xmacro pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
xmagnify
xmcp
xmousepasteblock pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
xnee
xnotify treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xob treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xplugd treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xpra libfakeXinerama: add nickcao to maintainers 2024-05-25 11:07:10 -04:00
xprintidle treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xprintidle-ng treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xprompt treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xrectsel
xrestop treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xsecurelock
xsettingsd
xssstate treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xtrace pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
xtruss
xvkbd
xwallpaper maintainers: remove ivar 2024-06-29 03:09:10 -04:00
xwinmosaic
xwinwrap treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
xzoom treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00