librewolf-bin-unwrapped: 136.0-2 -> 136.0.4-1 (#390743)

authored by Pol Dellaiera and committed by GitHub 1dda7ff0 a1438f11

+6 -6
+4 -4
pkgs/by-name/li/librewolf-bin-unwrapped/package.nix
··· 37 37 38 38 pname = "librewolf-bin-unwrapped"; 39 39 40 - version = "136.0-2"; 40 + version = "136.0.4-1"; 41 41 in 42 42 43 43 stdenv.mkDerivation { ··· 47 47 url = "https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/${version}/librewolf-${version}-${arch}-package.tar.xz"; 48 48 hash = 49 49 { 50 - i686-linux = "sha256-VRY6OY3nBTfwrdoRF8zBjSfwrxCM9SnmjUvAXhLbGSY="; 51 - x86_64-linux = "sha256-KjOES7AjoObZ0EPjTFAVafm++8MsxtEs1FgViLsR/hc="; 52 - aarch64-linux = "sha256-vUW+eEabJ3Gp0ov/9ms/KyLzwHOCKozpR/CdZGaxA0I="; 50 + i686-linux = "sha256-olqGXteeHqT456SEMEHjPWcnypABGZbFvlpWKBF962Y="; 51 + x86_64-linux = "sha256-3zcI1ND+laXFAv7nDlUEDjM007XHglnMYyFkd1n+sR8="; 52 + aarch64-linux = "sha256-9OwVuKsTJZ7js846BZSzXiyz53d0ebXwugXyrmnFFQc="; 53 53 } 54 54 .${stdenv.hostPlatform.system} or throwSystem; 55 55 };
+2 -2
pkgs/by-name/li/librewolf-bin-unwrapped/update.sh
··· 3 3 4 4 set -eou pipefail 5 5 6 - latestVersion=$(curl ${PRIVATE-TOKEN:+-u ":$PRIVATE-TOKEN"} -sL https://gitlab.com/api/v4/projects/44042130/releases | jq -r '.[0].tag_name') 6 + latestVersion=$(curl ${GITLAB_TOKEN:+-H "Private-Token: $GITLAB_TOKEN"} -sL https://gitlab.com/api/v4/projects/44042130/releases | jq -r '.[0].tag_name') 7 7 currentVersion=$(nix-instantiate --eval -E "with import ./. {}; librewolf-bin-unwrapped.version or (lib.getVersion librewolf-bin-unwrapped)" | tr -d '"') 8 8 9 9 echo "latest version: $latestVersion" ··· 19 19 "x86_64-linux linux-x86_64" \ 20 20 "aarch64-linux linux-arm64"; do 21 21 set -- $i 22 - hash=$(nix hash convert --to sri --hash-algo sha256 $(curl ${PRIVATE-TOKEN:+-u ":$PRIVATE-TOKEN"} -sL https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/$latestVersion/librewolf-$latestVersion-$2-package.tar.xz.sha256sum)) 22 + hash=$(nix hash convert --to sri --hash-algo sha256 $(curl ${GITLAB_TOKEN:+-H "Private-Token: $GITLAB_TOKEN"} -sL https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/$latestVersion/librewolf-$latestVersion-$2-package.tar.xz.sha256sum)) 23 23 update-source-version librewolf-bin-unwrapped $latestVersion $hash --system=$1 --ignore-same-version 24 24 done