Files
nixpkgs/pkgs/by-name/li/lib25519/update.sh
Enric Morales 6896c88c1b lib25519: add update script
Co-Authored-By: imad.nyc <me@imad.nyc>

lib25519: 20240321 -> 20241004

lib25519: add version test script
2024-10-21 10:55:04 +00:00

11 lines
328 B
Bash
Executable File

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl cacert nix common-updater-scripts --pure
#shellcheck shell=bash
set -eu -o pipefail
# upstream doesn't use git, but has this file specifically for versioning
version="$(curl https://lib25519.cr.yp.to/lib25519-latest-version.txt)"
update-source-version lib25519 "$version"