Nix flake of prebuilt Genode binaries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gen-list.sh 481B

1234567891011121314151617
  1. #!/bin/sh
  2. # TODO: git clone shallow, fhs environment, make -f depot/whatever
  3. echo "/* DO NOT EDIT - this file generated by gen-list.sh */ ["
  4. find ../../genode/public/genodelabs/bin -name '*.tar.xz' -print \
  5. | sort \
  6. | awk --field-separator / '{print $8" "$9" "$0}' \
  7. | while read NAME VERSION LOCAL
  8. do
  9. TAR_PATH=`realpath $LOCAL`
  10. SHA256=`nix-prefetch-url file://$TAR_PATH`
  11. echo "{name=\"$NAME\";value={sha256=\"$SHA256\";version=\"${VERSION%%.tar.xz}\";};}"
  12. done
  13. echo ']'