diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-07-07 23:02:44 -0700 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-07-18 18:16:15 -0700 |
commit | f1836b946fea5968fcb6cb6105e7901b8c498556 (patch) | |
tree | e2d35e64029af5f51d95b7c6f13131ac07f5e37e /pkgs/servers/jellyseerr | |
parent | e0eef2e7c0ad182bb9728f943df079dca597ad30 (diff) |
jellyseerr: adapt update script to new nix-prefetch-github
Diffstat (limited to 'pkgs/servers/jellyseerr')
-rw-r--r-- | pkgs/servers/jellyseerr/default.nix | 2 | ||||
-rw-r--r-- | pkgs/servers/jellyseerr/pin.json | 2 | ||||
-rwxr-xr-x | pkgs/servers/jellyseerr/update.sh | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/servers/jellyseerr/default.nix b/pkgs/servers/jellyseerr/default.nix index 80dffed68e343..3f35cdebabecb 100644 --- a/pkgs/servers/jellyseerr/default.nix +++ b/pkgs/servers/jellyseerr/default.nix @@ -23,7 +23,7 @@ mkYarnPackage rec { owner = "Fallenbagel"; repo = "jellyseerr"; rev = "v${version}"; - sha256 = pin.srcSha256; + hash = pin.srcHash; }; packageJSON = ./package.json; diff --git a/pkgs/servers/jellyseerr/pin.json b/pkgs/servers/jellyseerr/pin.json index 3681e3df6853d..0c658a506c454 100644 --- a/pkgs/servers/jellyseerr/pin.json +++ b/pkgs/servers/jellyseerr/pin.json @@ -1,5 +1,5 @@ { "version": "1.4.1", - "srcSha256": "LDqlQfy1bm2xMNn1oulImfanQmJX57P48VaZn0Jxwpk=", + "srcHash": "sha256-LDqlQfy1bm2xMNn1oulImfanQmJX57P48VaZn0Jxwpk=", "yarnSha256": "162aip7r5vcpfj1sn42qwwdlwnaii32bd2k0gp9py1z0zmw0lwlf" } diff --git a/pkgs/servers/jellyseerr/update.sh b/pkgs/servers/jellyseerr/update.sh index b1561bae217da..ec1dd0879edd4 100755 --- a/pkgs/servers/jellyseerr/update.sh +++ b/pkgs/servers/jellyseerr/update.sh @@ -19,7 +19,7 @@ if [ -z "$tag" ]; then fi src="https://raw.githubusercontent.com/Fallenbagel/jellyseerr/$tag" -src_sha256=$(nix-prefetch-github Fallenbagel jellyseerr --rev ${tag} | jq -r .sha256) +src_hash=$(nix-prefetch-github Fallenbagel jellyseerr --rev ${tag} | jq -r .hash) tmpdir=$(mktemp -d) trap 'rm -rf "$tmpdir"' EXIT @@ -33,7 +33,7 @@ curl -O "$src/package.json" cat > pin.json << EOF { "version": "$(echo $tag | grep -P '(\d|\.)+' -o)", - "srcSha256": "$src_sha256", + "srcHash": "$src_hash", "yarnSha256": "$yarn_sha256" } EOF |