Merge staging-next into staging
This commit is contained in:
commit
5645eb91c0
@ -1928,7 +1928,7 @@
|
||||
name = "Arbel Arad";
|
||||
};
|
||||
arcadio = {
|
||||
email = "arc@well.ox.ac.uk";
|
||||
email = "git.obtrusive281@passinbox.com";
|
||||
github = "arcadio";
|
||||
githubId = 56009;
|
||||
name = "Arcadio Rubio García";
|
||||
@ -6377,6 +6377,12 @@
|
||||
github = "dietmarw";
|
||||
githubId = 9332;
|
||||
};
|
||||
different-name = {
|
||||
name = "different-name";
|
||||
email = "hello@different-name.dev";
|
||||
github = "different-name";
|
||||
githubId = 49257026;
|
||||
};
|
||||
diffumist = {
|
||||
email = "git@diffumist.me";
|
||||
github = "Diffumist";
|
||||
|
@ -176,7 +176,7 @@ elsif (defined $expr) {
|
||||
|
||||
if ($hash =~ /^([a-z0-9]+)-([A-Za-z0-9+\/=]+)$/) {
|
||||
$algo = $1;
|
||||
$hash = `nix hash to-base16 $hash` or die;
|
||||
$hash = `nix --extra-experimental-features nix-command hash to-base16 $hash` or die;
|
||||
chomp $hash;
|
||||
}
|
||||
|
||||
@ -184,7 +184,7 @@ elsif (defined $expr) {
|
||||
|
||||
# Convert non-SRI base-64 to base-16.
|
||||
if ($hash =~ /^[A-Za-z0-9+\/=]+$/) {
|
||||
$hash = `nix hash to-base16 --type '$algo' $hash` or die;
|
||||
$hash = `nix --extra-experimental-features nix-command hash to-base16 --type '$algo' $hash` or die;
|
||||
chomp $hash;
|
||||
}
|
||||
|
||||
|
@ -8,14 +8,14 @@ reaper_ver=$(curl -Ls https://www.reaper.fm/download.php | grep -o 'Version [0-9
|
||||
function set_hash_for_linux() {
|
||||
local arch=$1
|
||||
pkg_hash=$(nix-prefetch-url https://www.reaper.fm/files/${reaper_ver%.*}.x/reaper${reaper_ver/./}_linux_$arch.tar.xz)
|
||||
pkg_hash=$(nix hash convert "sha256:$pkg_hash")
|
||||
pkg_hash=$(nix --extra-experimental-features nix-command hash convert "sha256:$pkg_hash")
|
||||
update-source-version reaper "${reaper_ver}" "$pkg_hash" --system=$arch-linux --ignore-same-version
|
||||
}
|
||||
|
||||
function set_hash_for_darwin() {
|
||||
local arch=$1
|
||||
pkg_hash=$(nix-prefetch-url https://www.reaper.fm/files/${reaper_ver%.*}.x/reaper${reaper_ver/./}_universal.dmg)
|
||||
pkg_hash=$(nix hash convert "sha256:$pkg_hash")
|
||||
pkg_hash=$(nix --extra-experimental-features nix-command hash convert "sha256:$pkg_hash")
|
||||
update-source-version reaper "${reaper_ver}" "$pkg_hash" --system=$arch-darwin --ignore-same-version
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ git clone --depth 1 --branch "v${version}" -c advice.detachedHead=false 'https:/
|
||||
git -C "$repo" checkout "tags/v${version}"
|
||||
|
||||
rm -rf "${repo}/.git"
|
||||
hashcheck=$(nix hash path "$repo")
|
||||
hashcheck=$(nix --extra-experimental-features nix-command hash path "$repo")
|
||||
|
||||
(cd "$nixpkgs" && update-source-version teos "$version" "$hashcheck" && update-source-version teos --ignore-same-version --source-key=cargoDeps)
|
||||
echo
|
||||
|
@ -17,7 +17,7 @@ echo "New version: $version"
|
||||
|
||||
url="https://github.com/Alexey-T/CudaText/archive/refs/tags/${version}.tar.gz"
|
||||
hash=$(nix-prefetch-url --quiet --unpack --type sha256 $url)
|
||||
sriHash=$(nix hash to-sri --type sha256 $hash)
|
||||
sriHash=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $hash)
|
||||
|
||||
sed -i "s#version = \".*\"#version = \"$version\"#" default.nix
|
||||
sed -i "s#hash = \".*\"#hash = \"$sriHash\"#" default.nix
|
||||
@ -27,7 +27,7 @@ while IFS=$'\t' read repo owner rev; do
|
||||
if [ "$latest" != "$rev" ]; then
|
||||
url="https://github.com/${owner}/${repo}/archive/refs/tags/${latest}.tar.gz"
|
||||
hash=$(nix-prefetch-url --quiet --unpack --type sha256 $url)
|
||||
sriHash=$(nix hash to-sri --type sha256 $hash)
|
||||
sriHash=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $hash)
|
||||
jq ".\"${repo}\".rev = \"${latest}\" | .\"${repo}\".hash = \"${sriHash}\"" deps.json | sponge deps.json
|
||||
fi
|
||||
done <<< $(jq -r 'to_entries[]|[.key,.value.owner,.value.rev]|@tsv' deps.json)
|
||||
|
@ -2064,6 +2064,19 @@ final: prev: {
|
||||
meta.hydraPlatforms = [ ];
|
||||
};
|
||||
|
||||
claudecode-nvim = buildVimPlugin {
|
||||
pname = "claudecode.nvim";
|
||||
version = "2025-06-21";
|
||||
src = fetchFromGitHub {
|
||||
owner = "coder";
|
||||
repo = "claudecode.nvim";
|
||||
rev = "91357d810ccf92f6169f3754436901c6ff5237ec";
|
||||
sha256 = "1hdzv8wjm0dgam7fimsm2h2kfnc8mp8gi7qyv4qddgfj7mir77l7";
|
||||
};
|
||||
meta.homepage = "https://github.com/coder/claudecode.nvim/";
|
||||
meta.hydraPlatforms = [ ];
|
||||
};
|
||||
|
||||
clever-f-vim = buildVimPlugin {
|
||||
pname = "clever-f.vim";
|
||||
version = "2022-10-15";
|
||||
|
@ -27,6 +27,10 @@ vimUtils.buildVimPlugin {
|
||||
cp -r ../lua .
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
vimPlugins.codecompanion-nvim
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Index and navigate your code repository using vectorcode";
|
||||
homepage = "https://github.com/Davidyz/VectorCode/blob/main/docs/neovim.md";
|
||||
|
@ -157,6 +157,7 @@ https://github.com/projekt0n/circles.nvim/,,
|
||||
https://github.com/zootedb0t/citruszest.nvim/,,
|
||||
https://github.com/xavierd/clang_complete/,,
|
||||
https://github.com/greggh/claude-code.nvim/,HEAD,
|
||||
https://github.com/coder/claudecode.nvim/,HEAD,
|
||||
https://github.com/rhysd/clever-f.vim/,,
|
||||
https://github.com/bbchung/clighter8/,,
|
||||
https://github.com/ekickx/clipboard-image.nvim/,,
|
||||
|
@ -60,7 +60,7 @@ prefetchExtensionUnpacked() {
|
||||
declare unpackedStorePath
|
||||
unpackedStorePath="$(nix add-to-store -n "$unpackedStoreName" "$tmpDir")"
|
||||
declare unpackedSha256
|
||||
unpackedSha256="$(nix hash-path --base32 --type sha256 "$unpackedStorePath")"
|
||||
unpackedSha256="$(nix --extra-experimental-features nix-command hash path --base32 --type sha256 "$unpackedStorePath")"
|
||||
1>&2 echo "unpackedStorePath='$unpackedStorePath'"
|
||||
1>&2 echo "unpackedSha256='$unpackedSha256'"
|
||||
|
||||
|
@ -58,7 +58,7 @@ make_trapped_tmpdir
|
||||
unzip -q -d "$tmpDir" "$cpptoolsZipStorePath"
|
||||
|
||||
cpptoolsStorePath="$(nix add-to-store -n "$extStoreName" "$tmpDir")"
|
||||
cpptoolsSha256="$(nix hash-path --base32 --type sha512 "$cpptoolsStorePath")"
|
||||
cpptoolsSha256="$(nix --extra-experimental-features nix-command hash path --base32 --type sha512 "$cpptoolsStorePath")"
|
||||
echo "cpptoolsStorePath='$cpptoolsStorePath'"
|
||||
echo "cpptoolsSha256='$cpptoolsSha256'"
|
||||
|
||||
|
@ -18,7 +18,7 @@ update-source-version vscode $latestVersion
|
||||
|
||||
systems=$(nix eval --json -f . vscode.meta.platforms | jq --raw-output '.[]')
|
||||
for system in $systems; do
|
||||
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix eval --raw -f . vscode.src.url --system "$system")))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix eval --raw -f . vscode.src.url --system "$system")))
|
||||
update-source-version vscode $latestVersion $hash --system=$system --ignore-same-version --ignore-same-hash
|
||||
done
|
||||
|
||||
|
@ -21,6 +21,6 @@ for i in \
|
||||
"aarch64-darwin darwin-arm64 zip" \
|
||||
"x86_64-darwin darwin-x64 zip"; do
|
||||
set -- $i
|
||||
hash=$(nix hash convert --hash-algo sha256 --to sri $(nix-prefetch-url "https://github.com/VSCodium/vscodium/releases/download/$latestVersion/VSCodium-$2-$latestVersion.$3"))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri $(nix-prefetch-url "https://github.com/VSCodium/vscodium/releases/download/$latestVersion/VSCodium-$2-$latestVersion.$3"))
|
||||
update-source-version vscodium $latestVersion $hash --system=$1 --ignore-same-version
|
||||
done
|
||||
|
@ -5,13 +5,13 @@
|
||||
}:
|
||||
mkLibretroCore {
|
||||
core = "genesis-plus-gx";
|
||||
version = "0-unstable-2025-06-22";
|
||||
version = "0-unstable-2025-06-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libretro";
|
||||
repo = "Genesis-Plus-GX";
|
||||
rev = "e1b0d20b66441c0ff220abbb1da8e6a911b9a761";
|
||||
hash = "sha256-pvzLI3G6046W11x8Sfev6W5tGYn8/d2EnmIQc99aHN4=";
|
||||
rev = "7eaca304a77827d4ba0f9bd9e23aca1ed8eb231e";
|
||||
hash = "sha256-hcl0iN7AfZEncXFC8GvD6D8olr+NlIOcVV42dZ6G55Y=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -30,6 +30,6 @@ fi
|
||||
|
||||
for lang in $langCodes; do
|
||||
url=https://github.com/tesseract-ocr/tessdata/raw/$tessdataRev/$lang.traineddata
|
||||
hash=$(nix hash to-sri --type sha256 $(nix-prefetch-url $url 2>/dev/null))
|
||||
hash=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $(nix-prefetch-url $url 2>/dev/null))
|
||||
echo "$lang = \"$hash\";"
|
||||
done
|
||||
|
@ -46,7 +46,7 @@ writeScript "update-librewolf" ''
|
||||
repoUrl=https://codeberg.org/librewolf/source.git
|
||||
nix-prefetch-git $repoUrl --quiet --rev $latestTag --fetch-submodules > $prefetchOut
|
||||
srcDir=$(jq -r .path < $prefetchOut)
|
||||
srcHash=$(nix hash convert --to sri --hash-algo sha256 $(jq -r .sha256 < $prefetchOut))
|
||||
srcHash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(jq -r .sha256 < $prefetchOut))
|
||||
|
||||
ffVersion=$(<$srcDir/version)
|
||||
lwRelease=$(<$srcDir/release)
|
||||
@ -68,7 +68,7 @@ writeScript "update-librewolf" ''
|
||||
curl --silent --show-error -o "$HOME"/shasums.asc "$mozillaUrl$ffVersion/SHA512SUMS.asc"
|
||||
gpgv --keyring="$GNUPGHOME"/pubring.kbx "$HOME"/shasums.asc "$HOME"/shasums
|
||||
|
||||
ffHash=$(nix hash convert --to sri --hash-algo sha512 $(grep '\.source\.tar\.xz$' "$HOME"/shasums | grep '^[^ ]*' -o))
|
||||
ffHash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha512 $(grep '\.source\.tar\.xz$' "$HOME"/shasums | grep '^[^ ]*' -o))
|
||||
echo "ffHash=$ffHash"
|
||||
|
||||
jq ".source.rev = \"$latestTag\"" $srcJson | sponge $srcJson
|
||||
|
@ -16,7 +16,7 @@ sed -i "s|$PREV_VERSION|$NEXT_VERSION|" "$FILE"
|
||||
|
||||
# update hash
|
||||
PREV_HASH=$(nix eval --raw -f $NIXPKGS_ROOT/default.nix $ATTR.src.outputHash)
|
||||
NEXT_HASH=$(nix hash to-sri --type sha256 $(nix-prefetch-url --unpack --type sha256 $(nix eval --raw -f $NIXPKGS_ROOT/default.nix $ATTR.src.url)))
|
||||
NEXT_HASH=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $(nix-prefetch-url --unpack --type sha256 $(nix eval --raw -f $NIXPKGS_ROOT/default.nix $ATTR.src.url)))
|
||||
sed -i "s|$PREV_HASH|$NEXT_HASH|" "$FILE"
|
||||
|
||||
# update vendor hash
|
||||
|
@ -109,8 +109,8 @@ rec {
|
||||
thunderbird-128 = common {
|
||||
applicationName = "Thunderbird ESR";
|
||||
|
||||
version = "128.11.1esr";
|
||||
sha512 = "8fd99f68895b543bdc5bba38d7720f0e48e2a82c9fe5e8ca15534e3918cc40b5b2911666dbbbda0a7911783a03a0d8f7371ea353fd67416baca1e1dffdd25c44";
|
||||
version = "128.12.0esr";
|
||||
sha512 = "4566ae8347e959612a288524753416f5b730757f10a067b6eb11139055cc1fc5d63d49636e798e9b77588896c8dbc0f2acc189ebd29d95a5166e7bc8f2c35e30";
|
||||
|
||||
updateScript = callPackage ./update.nix {
|
||||
attrPath = "thunderbirdPackages.thunderbird-128";
|
||||
|
@ -39,7 +39,12 @@ let
|
||||
cppSupport = !mpiSupport;
|
||||
};
|
||||
catalyst = catalyst.override {
|
||||
inherit mpi mpiSupport pythonSupport;
|
||||
inherit
|
||||
mpi
|
||||
mpiSupport
|
||||
python3Packages
|
||||
pythonSupport
|
||||
;
|
||||
};
|
||||
mpi4py = python3Packages.mpi4py.override { inherit mpi; };
|
||||
};
|
||||
|
@ -6,18 +6,18 @@
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "alertmanager-ntfy";
|
||||
version = "0-unstable-2025-06-27";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexbakker";
|
||||
repo = "alertmanager-ntfy";
|
||||
rev = "dc4ef93f7db7f046a775ef3e4a2a462b2afcec6c";
|
||||
hash = "sha256-J+T3Mt+40vhL3DVBKKH86l45AKSlkT7h+TrfhsWwMac=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-tyRBfcPL0tzsZgWwgjSW9eMcXZAotkx88tjDr2gw4s4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-e1JAoDNm2+xB/bZcEGr5l4+va8GIg1R8pdj3d+/Y+UY=";
|
||||
vendorHash = "sha256-CpVGLM6ZtfYODhP6gzWGcnpEuDvKRiMWzoPNm2qtML4=";
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
@ -30,7 +30,7 @@ buildGoModule {
|
||||
|
||||
passthru = {
|
||||
tests = { inherit (nixosTests.prometheus) alertmanager-ntfy; };
|
||||
updateScript = nix-update-script { extraArgs = [ "--version=branch=master" ]; };
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
@ -40,4 +40,4 @@ buildGoModule {
|
||||
maintainers = with lib.maintainers; [ defelo ];
|
||||
mainProgram = "alertmanager-ntfy";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
@ -209,6 +209,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"libFLAC.so.12"
|
||||
"libtheoradec.so.1"
|
||||
"libtheoraenc.so.1"
|
||||
"libxml2.so.2"
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
@ -1,19 +1,23 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
writableTmpDirAsHomeHook,
|
||||
installShellFiles,
|
||||
versionCheckHook,
|
||||
buildPackages,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "apko";
|
||||
version = "0.27.9";
|
||||
version = "0.29.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chainguard-dev";
|
||||
repo = pname;
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ET/jzQ8sGQrxn9+3z6gOk57XTj9w9lJnwBK7c2n4s10=";
|
||||
repo = "apko";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-PRT29c7WqjkWR4hqzzz8ek5IytsS3ntDlPQ/tzpARCk=";
|
||||
# populate values that require us to use git. By doing this in postFetch we
|
||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||
leaveDotGit = true;
|
||||
@ -25,14 +29,14 @@ buildGoModule rec {
|
||||
find "$out" -name .git -print0 | xargs -0 rm -rf
|
||||
'';
|
||||
};
|
||||
vendorHash = "sha256-zZwEdHZOPNCLpOgdV23ewOQhAkob8bcasUopwzXLtGk=";
|
||||
vendorHash = "sha256-j7f9cbcbX4PdaRxg5lare6aRz1B5lCfj2RSvs+XOfe4=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X sigs.k8s.io/release-utils/version.gitVersion=v${version}"
|
||||
"-X sigs.k8s.io/release-utils/version.gitVersion=v${finalAttrs.version}"
|
||||
"-X sigs.k8s.io/release-utils/version.gitTreeState=clean"
|
||||
];
|
||||
|
||||
@ -42,14 +46,17 @@ buildGoModule rec {
|
||||
ldflags+=" -X sigs.k8s.io/release-utils/version.buildDate=$(cat SOURCE_DATE_EPOCH)"
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
# some tests require a writable HOME
|
||||
export HOME=$(mktemp -d)
|
||||
nativeCheckInputs = [ writableTmpDirAsHomeHook ];
|
||||
|
||||
# skip tests on darwin due to some local networking failures
|
||||
# `__darwinAllowLocalNetworking = true;` wasn't sufficient for
|
||||
# aarch64 or x86_64
|
||||
doCheck = !stdenv.isDarwin;
|
||||
preCheck = ''
|
||||
# some test data include SOURCE_DATE_EPOCH (which is different from our default)
|
||||
# and the default version info which we get by unsetting our ldflags
|
||||
export SOURCE_DATE_EPOCH=0
|
||||
ldflags=
|
||||
unset ldflags
|
||||
'';
|
||||
|
||||
checkFlags = [
|
||||
@ -57,33 +64,35 @@ buildGoModule rec {
|
||||
"-skip=TestInitDB_ChainguardDiscovery"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd apko \
|
||||
--bash <($out/bin/apko completion bash) \
|
||||
--fish <($out/bin/apko completion fish) \
|
||||
--zsh <($out/bin/apko completion zsh)
|
||||
'';
|
||||
postInstall =
|
||||
let
|
||||
apko =
|
||||
if stdenv.buildPlatform.canExecute stdenv.hostPlatform then
|
||||
placeholder "out"
|
||||
else
|
||||
buildPackages.apko;
|
||||
in
|
||||
''
|
||||
installShellCompletion --cmd apko \
|
||||
--bash <(${apko}/bin/apko completion bash) \
|
||||
--fish <(${apko}/bin/apko completion fish) \
|
||||
--zsh <(${apko}/bin/apko completion zsh)
|
||||
'';
|
||||
|
||||
nativeCheckInstallInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
versionCheckProgramArg = "version";
|
||||
|
||||
$out/bin/apko --help
|
||||
$out/bin/apko version 2>&1 | grep "v${version}"
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://apko.dev/";
|
||||
changelog = "https://github.com/chainguard-dev/apko/blob/main/NEWS.md";
|
||||
description = "Build OCI images using APK directly without Dockerfile";
|
||||
mainProgram = "apko";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
jk
|
||||
developer-guy
|
||||
emilylange
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
@ -30,13 +30,13 @@ assert enableViewer -> wrapGAppsHook3 != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "aravis";
|
||||
version = "0.8.34";
|
||||
version = "0.8.35";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AravisProject";
|
||||
repo = "aravis";
|
||||
tag = version;
|
||||
hash = "sha256-6tCV2QyzlMNnkXlRz41JT05FeBcRckHXM50VGY5/BnM=";
|
||||
hash = "sha256-RRIYZHtljZ44s1kmmUI1KMx92+PLLI/eCJRs4m0+egg=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
# the documentation is the best working homepage that's not the Github repo
|
||||
homepage = "https://aravisproject.github.io/docs/aravis-0.8";
|
||||
license = lib.licenses.lgpl2;
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = with lib.maintainers; [ tpw_rules ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
|
@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
|
||||
fi
|
||||
|
||||
DOWNLOAD_URL="${mavenGroupIdUrl}/atlassian-plugin-sdk/${version}/atlassian-plugin-sdk-$NEW_VERSION.tar.gz"
|
||||
NIX_HASH=$(nix hash to-sri sha256:$(nix-prefetch-url $DOWNLOAD_URL))
|
||||
NIX_HASH=$(nix --extra-experimental-features nix-command hash to-sri sha256:$(nix-prefetch-url $DOWNLOAD_URL))
|
||||
|
||||
update-source-version "atlassian-plugin-sdk" "$NEW_VERSION" "$NIX_HASH" "$DOWNLOAD_URL"
|
||||
'';
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
src = requireFile {
|
||||
name = "Balatro-${finalAttrs.version}.exe";
|
||||
url = "https://store.steampowered.com/app/2379780/Balatro/";
|
||||
# Use `nix hash file --sri --type sha256` to get the correct hash
|
||||
# Use `nix --extra-experimental-features nix-command hash file --sri --type sha256` to get the correct hash
|
||||
hash = "sha256-DXX+FkrM8zEnNNSzesmHiN0V8Ljk+buLf5DE5Z3pP0c=";
|
||||
};
|
||||
|
||||
|
@ -16,5 +16,5 @@ fi
|
||||
|
||||
nix-update beekeeper-studio --version "$latestVersion" || true
|
||||
|
||||
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url "$(nix eval -f . --raw beekeeper-studio.src.url --system aarch64-linux)"))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url "$(nix eval -f . --raw beekeeper-studio.src.url --system aarch64-linux)"))
|
||||
update-source-version beekeeper-studio $latestVersion $hash --system=aarch64-linux --ignore-same-version
|
||||
|
@ -14,8 +14,8 @@ amd64_hash=$(nix-prefetch-url $amd64_url)
|
||||
arm64_hash=$(nix-prefetch-url $arm64_url)
|
||||
|
||||
# use friendlier hashes
|
||||
amd64_hash=$(nix hash convert --to sri --hash-algo sha256 "$amd64_hash")
|
||||
arm64_hash=$(nix hash convert --to sri --hash-algo sha256 "$arm64_hash")
|
||||
amd64_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$amd64_hash")
|
||||
arm64_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$arm64_hash")
|
||||
|
||||
cat >sources.nix <<EOF
|
||||
# Generated by ./update.sh - do not update manually!
|
||||
|
@ -18,7 +18,7 @@ fi
|
||||
|
||||
sed -i "s/\(tag = \"v\${version}+\)[0-9]\+/\1${RunNumber}/" "$ROOT/package.nix"
|
||||
|
||||
hash=$(nix hash convert --hash-algo sha256 --to sri $(nix-prefetch-url --unpack "https://github.com/HemantKArya/BloomeeTunes/archive/refs/tags/${latestTag}.tar.gz"))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri $(nix-prefetch-url --unpack "https://github.com/HemantKArya/BloomeeTunes/archive/refs/tags/${latestTag}.tar.gz"))
|
||||
update-source-version bloomeetunes $latestVersion $hash
|
||||
|
||||
curl https://raw.githubusercontent.com/HemantKArya/BloomeeTunes/${latestTag}/pubspec.lock | yq . >$ROOT/pubspec.lock.json
|
||||
|
@ -15,7 +15,7 @@ function calc_hash () {
|
||||
local arch=$2
|
||||
url="https://releases.hashicorp.com/boundary/${version}/boundary_${version}_${arch}.zip"
|
||||
zip_hash=$(nix-prefetch-url --unpack $url)
|
||||
nix hash to-sri --type sha256 "$zip_hash"
|
||||
nix --extra-experimental-features nix-command hash to-sri --type sha256 "$zip_hash"
|
||||
}
|
||||
|
||||
replace_sha() {
|
||||
|
@ -27,7 +27,7 @@ HFILE=pkgs/by-name/bu/buck2/hashes.json
|
||||
rm -f "$HFILE" && touch "$HFILE"
|
||||
|
||||
PRELUDE_SHA256HASH="$(nix-prefetch-url --type sha256 "$PRELUDE_DL_URL")"
|
||||
PRELUDE_SRIHASH="$(nix hash to-sri --type sha256 "$PRELUDE_SHA256HASH")"
|
||||
PRELUDE_SRIHASH="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 "$PRELUDE_SHA256HASH")"
|
||||
|
||||
printf "{ \"_comment\": \"@generated by pkgs/by-name/bu/buck2/update.sh\"\n" >> "$HFILE"
|
||||
printf ", \"_prelude\": \"$PRELUDE_SRIHASH\"\n" >> "$HFILE"
|
||||
@ -35,12 +35,12 @@ printf ", \"_prelude\": \"$PRELUDE_SRIHASH\"\n" >> "$HFILE"
|
||||
for arch in "${ARCHS[@]}"; do
|
||||
IFS=: read -r arch_name arch_target <<< "$arch"
|
||||
sha256hash="$(nix-prefetch-url --type sha256 "https://github.com/facebook/buck2/releases/download/${VERSION}/buck2-${arch_target}.zst")"
|
||||
srihash="$(nix hash to-sri --type sha256 "$sha256hash")"
|
||||
srihash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 "$sha256hash")"
|
||||
echo ", \"buck2-$arch_name\": \"$srihash\"" >> "$HFILE"
|
||||
|
||||
IFS=: read -r arch_name arch_target <<< "$arch"
|
||||
sha256hash="$(nix-prefetch-url --type sha256 "https://github.com/facebook/buck2/releases/download/${VERSION}/rust-project-${arch_target}.zst")"
|
||||
srihash="$(nix hash to-sri --type sha256 "$sha256hash")"
|
||||
srihash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 "$sha256hash")"
|
||||
echo ", \"rust-project-$arch_name\": \"$srihash\"" >> "$HFILE"
|
||||
done
|
||||
echo "}" >> "$HFILE"
|
||||
|
@ -18,7 +18,7 @@ let
|
||||
.${system};
|
||||
|
||||
# Get hash in sri format
|
||||
# nix-prefetch-url <url> | xargs nix hash convert --hash-algo sha256
|
||||
# nix-prefetch-url <url> | xargs nix --extra-experimental-features nix-command hash convert --hash-algo sha256
|
||||
hash =
|
||||
{
|
||||
x86_64-linux = "sha256-DK5+VT4+OCcJ4Bbv6GGs6R332GMsD1gNEmcz0iaJb1c=";
|
||||
|
@ -15,14 +15,14 @@ let
|
||||
"cli"
|
||||
"desktop"
|
||||
];
|
||||
version = "0.48.1";
|
||||
version = "0.49.0";
|
||||
cli = fetchurl {
|
||||
url = "https://caido.download/releases/v${version}/caido-cli-v${version}-linux-x86_64.tar.gz";
|
||||
hash = "sha256-UdeC3BZmQVUdWmwQTC27ptF0+lZgCXpF8yXaf8Bjpbo=";
|
||||
hash = "sha256-pPFTN/KjwZZXJvFHttw3dQr7AQnIIEkyxlsWEx61Kbc=";
|
||||
};
|
||||
desktop = fetchurl {
|
||||
url = "https://caido.download/releases/v${version}/caido-desktop-v${version}-linux-x86_64.AppImage";
|
||||
hash = "sha256-4KQpgO8Cb+TkKuDOK+bAE0nOhlwjkSUVXLHJmHaj6NQ=";
|
||||
hash = "sha256-bvK2SdFrIpX/cJghwW0QJ6wkTndRIZZ3qf7dHqeZTgY=";
|
||||
};
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
inherit pname version;
|
||||
|
@ -44,7 +44,7 @@ let
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "charmcraft";
|
||||
version = "3.5.1";
|
||||
version = "3.5.2";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
@ -52,7 +52,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
owner = "canonical";
|
||||
repo = "charmcraft";
|
||||
tag = version;
|
||||
hash = "sha256-4zlUHttny6nIRhx/5aDz2sh1Va0+nN+7cezBGtt5Img=";
|
||||
hash = "sha256-WpiLi8raY1f6+Jjlamp+eDh429gjSwSufNfoPOcGIgU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -8,7 +8,7 @@ XML_DATA=$(curl -s $XML_URL)
|
||||
LATEST_VERSION=$(echo "$XML_DATA" | xmllint --xpath '/rss/channel/item[1]/*[local-name()="shortVersionString"]/text()' -)
|
||||
DOWNLOAD_URL=$(echo "$XML_DATA" | xmllint --xpath 'string(//item[1]/enclosure/@url)' -)
|
||||
|
||||
HASH=$(nix-prefetch-url $DOWNLOAD_URL | xargs nix hash convert --hash-algo sha256)
|
||||
HASH=$(nix-prefetch-url $DOWNLOAD_URL | xargs nix --extra-experimental-features nix-command hash convert --hash-algo sha256)
|
||||
|
||||
SOURCE_NIX="$(dirname ${BASH_SOURCE[0]})/source.nix"
|
||||
|
||||
|
@ -59,7 +59,7 @@ buildGraalvmNativeImage (finalAttrs: {
|
||||
old_jar_hash="$(nix-instantiate --strict --json --eval -A clojure-lsp.jar.drvAttrs.outputHash | jq -r .)"
|
||||
|
||||
curl -o clojure-lsp-standalone.jar -sL "https://github.com/clojure-lsp/clojure-lsp/releases/download/$latest_version/clojure-lsp-standalone.jar"
|
||||
new_jar_hash="$(nix-hash --flat --type sha256 clojure-lsp-standalone.jar | xargs -n1 nix hash convert --hash-algo sha256)"
|
||||
new_jar_hash="$(nix-hash --flat --type sha256 clojure-lsp-standalone.jar | xargs -n1 nix --extra-experimental-features nix-command hash convert --hash-algo sha256)"
|
||||
|
||||
rm -f clojure-lsp-standalone.jar
|
||||
|
||||
|
@ -41,13 +41,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cockpit";
|
||||
version = "340";
|
||||
version = "341.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cockpit-project";
|
||||
repo = "cockpit";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-I/T1bovkf2H/GJqocRxsiRxqRw9HMdscKpWQ+M6IdrU=";
|
||||
hash = "sha256-sJ4GBsBH7FTViVYiJNR8UNv5Fdo33qGJAnZo2zRLc18=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -32,7 +32,7 @@ update_version_and_hashes() {
|
||||
|
||||
# Fetch the new hash using nix-prefetch-url
|
||||
local NEW_HASH=$(nix-prefetch-url --type sha256 $URL)
|
||||
local SRI_HASH=$(nix hash to-sri --type sha256 $NEW_HASH)
|
||||
local SRI_HASH=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $NEW_HASH)
|
||||
|
||||
# Update the Nix file with the new hash, using '#' as delimiter and preserving indentation
|
||||
sed -i "/${channel} = {/,/};/{
|
||||
|
@ -26,6 +26,6 @@ for i in \
|
||||
"x86_64-darwin darwin_amd64" \
|
||||
"aarch64-darwin darwin_arm64"; do
|
||||
set -- $i
|
||||
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url "https://s3-us-west-2.amazonaws.com/confluent.cloud/confluent-cli/archives/$latestVersion/confluent_${latestVersion}_$2.tar.gz"))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url "https://s3-us-west-2.amazonaws.com/confluent.cloud/confluent-cli/archives/$latestVersion/confluent_${latestVersion}_$2.tar.gz"))
|
||||
update-source-version confluent-cli $latestVersion $hash --system=$1 --ignore-same-version
|
||||
done
|
||||
|
49
pkgs/by-name/co/converged-security-suite/package.nix
Normal file
49
pkgs/by-name/co/converged-security-suite/package.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "converged-security-suite";
|
||||
|
||||
version = "2.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "9elements";
|
||||
repo = "converged-security-suite";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-/TsKKBrwiwPVyfmDvzouVRyAPLVPsLZFmIIzl0gJWL4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-p1r6LS0h5NbUdGUHEPtZydXNOjyz7jXegmbFBl38MEI=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/core/bg-prov"
|
||||
"cmd/core/bg-suite"
|
||||
"cmd/core/txt-prov"
|
||||
"cmd/core/txt-suite"
|
||||
"cmd/exp/amd-suite"
|
||||
"cmd/exp/pcr0tool"
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
go test -v ./pkg/...
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/9elements/converged-security-suite";
|
||||
changelog = "https://github.com/9elements/converged-security-suite/releases/tag/v${finalAttrs.version}";
|
||||
description = "Converged Security Suite for Intel & AMD platform security features";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [
|
||||
felixsinger
|
||||
];
|
||||
mainProgram = "bg-prov";
|
||||
};
|
||||
})
|
@ -26,7 +26,7 @@ CRC_COMMIT=$(curl --silent ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} \
|
||||
jq -r "map(select(.name == \"${LATEST_TAG_NAME}\")) | .[0] | .commit.sha")
|
||||
|
||||
CRC_GIT_PREFETCH=$(nix-prefetch-url --unpack https://github.com/crc-org/crc/archive/${CRC_COMMIT}.tar.gz)
|
||||
CRC_GIT_HASH=$(nix hash convert --to sri --hash-algo sha256 ${CRC_GIT_PREFETCH})
|
||||
CRC_GIT_HASH=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 ${CRC_GIT_PREFETCH})
|
||||
|
||||
FILE_MAKEFILE=${WORKDIR}/Makefile
|
||||
curl --silent https://raw.githubusercontent.com/crc-org/crc/${CRC_COMMIT}/Makefile >$FILE_MAKEFILE
|
||||
|
@ -17,6 +17,6 @@ for system in \
|
||||
aarch64-linux \
|
||||
x86_64-darwin \
|
||||
aarch64-darwin; do
|
||||
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; dbgate.src.url" --system "$system" | tr -d '"')))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; dbgate.src.url" --system "$system" | tr -d '"')))
|
||||
update-source-version dbgate $latestVersion $hash --system=$system --ignore-same-version
|
||||
done
|
||||
|
@ -21,7 +21,7 @@ if [ "$OLD_VERSION" = "$VERSION" ]; then
|
||||
fi
|
||||
|
||||
SHA256="$(nix-prefetch-url --quiet --unpack https://github.com/dependabot/cli/archive/refs/tags/v${VERSION}.tar.gz)"
|
||||
HASH="$(nix hash convert --hash-algo sha256 --to sri "$SHA256")"
|
||||
HASH="$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$SHA256")"
|
||||
|
||||
nix-prefetch-docker --json --quiet --final-image-name dependabot-update-job-proxy --final-image-tag "nixpkgs-dependabot-cli-$VERSION" ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy latest > "$temp_dir/dependabot-update-job-proxy.json"
|
||||
|
||||
|
@ -14,19 +14,22 @@
|
||||
}:
|
||||
|
||||
let
|
||||
devenv_nix = nixVersions.nix_2_24.overrideAttrs (old: {
|
||||
version = "2.24-devenv";
|
||||
src = fetchFromGitHub {
|
||||
owner = "domenkozar";
|
||||
devenv_nix =
|
||||
(nixVersions.git.overrideSource (fetchFromGitHub {
|
||||
owner = "cachix";
|
||||
repo = "nix";
|
||||
rev = "b455edf3505f1bf0172b39a735caef94687d0d9c";
|
||||
hash = "sha256-bYyjarS3qSNqxfgc89IoVz8cAFDkF9yPE63EJr+h50s=";
|
||||
};
|
||||
doCheck = false;
|
||||
doInstallCheck = false;
|
||||
});
|
||||
rev = "afa41b08df4f67b8d77a8034b037ac28c71c77df";
|
||||
hash = "sha256-IDB/oh/P63ZTdhgSkey2LZHzeNhCdoKk+4j7AaPe1SE=";
|
||||
})).overrideAttrs
|
||||
(old: {
|
||||
version = "2.30-devenv";
|
||||
doCheck = false;
|
||||
doInstallCheck = false;
|
||||
# do override src, but the Nix way so the warning is unaware of it
|
||||
__intentionallyOverridingVersion = true;
|
||||
});
|
||||
|
||||
version = "1.6.1";
|
||||
version = "1.7";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "devenv";
|
||||
@ -35,12 +38,12 @@ rustPlatform.buildRustPackage {
|
||||
src = fetchFromGitHub {
|
||||
owner = "cachix";
|
||||
repo = "devenv";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-CEVWxRaln3sp0541QpMfcfmI2w+RN72UgNLV5Dy9sco=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-LzMVgB8izls/22g69KvWPbuQ8C7PRT9PobbvdV3/raI=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-t4Cj7JlBVrMP02Dqibq2IgdKy6ejv+CeffmcPAkh7BE=";
|
||||
cargoHash = "sha256-k/UrnRTI+Z09kdN7PYNOg9+GnumqOdm36F31CKZCGMU=";
|
||||
|
||||
buildAndTestSubdir = "devenv";
|
||||
|
||||
|
@ -29,7 +29,7 @@ cd $TMPDIR
|
||||
|
||||
curl https://raw.githubusercontent.com/the-draupnir-project/Draupnir/v$latestVersion/yarn.lock -o yarn.lock
|
||||
TMP_PREFETCH_HASH=`prefetch-yarn-deps yarn.lock`
|
||||
NEW_YARN_OFFLINE_HASH=`nix hash to-sri --type sha256 $TMP_PREFETCH_HASH`
|
||||
NEW_YARN_OFFLINE_HASH=`nix --extra-experimental-features nix-command hash to-sri --type sha256 $TMP_PREFETCH_HASH`
|
||||
|
||||
cd -
|
||||
echo "New yarn offline hash: $NEW_YARN_OFFLINE_HASH"
|
||||
|
@ -18,7 +18,7 @@ let
|
||||
"aarch64-linux" = "linux-arm64";
|
||||
};
|
||||
_platform = _supportedPlatforms."${stdenv.hostPlatform.system}";
|
||||
# nix hash convert --to sri "sha256:`nix-prefetch-url --unpack https://updates.duplicati.com/stable/duplicati-2.1.0.5_stable_2025-03-04-linux-arm64-cli.zip`"
|
||||
# nix --extra-experimental-features nix-command hash convert --to sri "sha256:`nix-prefetch-url --unpack https://updates.duplicati.com/stable/duplicati-2.1.0.5_stable_2025-03-04-linux-arm64-cli.zip`"
|
||||
_fileHashForSystem = {
|
||||
"armv7l-linux" = "sha256-FQQ07M0rwvxNkHPW6iK5WBTKgFrZ4LOP4vgINfmtq4k=";
|
||||
"x86_64-linux" = "sha256-1QspF/A3hOtqd8bVbSqClJIHUN9gBrd18J5qvZJLkQE=";
|
||||
|
@ -74,7 +74,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
fi
|
||||
|
||||
DOWNLOAD_URL="https://d1ni2b6xgvw0s0.cloudfront.net/v2.x/dynamodb_local_$NEW_VERSION_DATE.tar.gz"
|
||||
NIX_HASH=$(nix hash to-sri sha256:$(nix-prefetch-url $DOWNLOAD_URL))
|
||||
NIX_HASH=$(nix --extra-experimental-features nix-command hash to-sri sha256:$(nix-prefetch-url $DOWNLOAD_URL))
|
||||
|
||||
update-source-version "dynamodb-local" "$NEW_VERSION" "$NIX_HASH" "$DOWNLOAD_URL"
|
||||
'';
|
||||
|
@ -32,7 +32,7 @@ echo "Verifying commit"
|
||||
git -C $repo verify-tag v${version}
|
||||
|
||||
rm -rf $repo/.git
|
||||
hash=$(nix hash path $repo)
|
||||
hash=$(nix --extra-experimental-features nix-command hash path $repo)
|
||||
|
||||
(cd "$nixpkgs" && update-source-version electrs "$version" "$hash" && update-source-version electrs --ignore-same-version --source-key=cargoDeps)
|
||||
echo
|
||||
|
@ -14,7 +14,7 @@ fetch_arch() {
|
||||
VER="$1"
|
||||
ARCH="$2"
|
||||
URL="https://github.com/envoyproxy/envoy/releases/download/v${VER}/envoy-${VER}-linux-${ARCH}"
|
||||
nix hash convert --to sri --hash-algo sha256 "$(nix-prefetch-url --type sha256 "$URL")"
|
||||
nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$(nix-prefetch-url --type sha256 "$URL")"
|
||||
}
|
||||
|
||||
replace_hash() {
|
||||
|
@ -217,7 +217,7 @@ stdenv.mkDerivation {
|
||||
update_link=$(echo $package_info | jq -r '.data.download_link' | sed 's/lf[0-9]*-ug-sign.feishucdn.com/sf3-cn.feishucdn.com\/obj/;s/?.*$//')
|
||||
new_version=$(echo $package_info | jq -r '.data.version_number' | sed -n 's/.*@V//p')
|
||||
sha256_hash=$(nix-prefetch-url $update_link)
|
||||
sri_hash=$(nix hash to-sri --type sha256 $sha256_hash)
|
||||
sri_hash=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $sha256_hash)
|
||||
update-source-version feishu $new_version $sri_hash $update_link --system=$platform --ignore-same-version --source-key="sources.$platform"
|
||||
done
|
||||
'';
|
||||
|
@ -14,7 +14,7 @@ new_nnue_big_file="$(
|
||||
grep --perl-regexp --only-matching 'EvalFileDefaultNameBig "\Knn-(\w+).nnue'
|
||||
)"
|
||||
new_nnue_big_hash="$(
|
||||
nix hash to-sri --type sha256 "$(
|
||||
nix --extra-experimental-features nix-command hash to-sri --type sha256 "$(
|
||||
nix-prefetch-url --type sha256 "https://tests.stockfishchess.org/api/nn/${new_nnue_big_file}"
|
||||
)"
|
||||
)"
|
||||
@ -23,7 +23,7 @@ new_nnue_small_file="$(
|
||||
grep --perl-regexp --only-matching 'EvalFileDefaultNameSmall "\Knn-(\w+).nnue'
|
||||
)"
|
||||
new_nnue_small_hash="$(
|
||||
nix hash to-sri --type sha256 "$(
|
||||
nix --extra-experimental-features nix-command hash to-sri --type sha256 "$(
|
||||
nix-prefetch-url --type sha256 "https://tests.stockfishchess.org/api/nn/${new_nnue_small_file}"
|
||||
)"
|
||||
)"
|
||||
|
@ -7,15 +7,15 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "fleet";
|
||||
version = "4.69.0";
|
||||
version = "4.70.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fleetdm";
|
||||
repo = "fleet";
|
||||
tag = "fleet-v${finalAttrs.version}";
|
||||
hash = "sha256-3++w9AG70UMO6ProIBedhMs5q7Pk+pg8J50yIhnEzEM=";
|
||||
hash = "sha256-wUyKxG6sJ0UBtrA3LOi+48kLi3cY6wZHYt/nfGf6pWU=";
|
||||
};
|
||||
vendorHash = "sha256-ZdkpgZbXchDp5kiEgCsSsd3/ltltSRjOuTPOhiBEloc=";
|
||||
vendorHash = "sha256-mlZO7wxZamI7xjvZ+ncTkiqTsXhNhjjE0JI5+8bPbv0=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/fleet"
|
||||
|
@ -12,9 +12,9 @@ LATEST_VERSION=$(echo "${LATEST_TAG}" | sed 's/^v//')
|
||||
|
||||
if [ ! "$OLD_VERSION" = "$LATEST_VERSION" ]; then
|
||||
SRC_SHA256=$(nix-prefetch-url --quiet --unpack "https://github.com/fluxcd/flux2/archive/refs/tags/${LATEST_TAG}.tar.gz")
|
||||
SRC_HASH=$(nix hash convert --hash-algo sha256 --to sri "$SRC_SHA256")
|
||||
SRC_HASH=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$SRC_SHA256")
|
||||
MANIFESTS_SHA256=$(nix-prefetch-url --quiet --unpack "https://github.com/fluxcd/flux2/releases/download/${LATEST_TAG}/manifests.tar.gz")
|
||||
MANIFESTS_HASH=$(nix hash convert --hash-algo sha256 --to sri "$MANIFESTS_SHA256")
|
||||
MANIFESTS_HASH=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$MANIFESTS_SHA256")
|
||||
|
||||
setKV () {
|
||||
sed -i "s|$1 = \".*\"|$1 = \"${2:-}\"|" "${FLUXCD_PATH}/package.nix"
|
||||
@ -27,7 +27,7 @@ if [ ! "$OLD_VERSION" = "$LATEST_VERSION" ]; then
|
||||
|
||||
set +e
|
||||
VENDOR_SHA256=$(nix-build --no-out-link -A fluxcd "$NIXPKGS_PATH" 2>&1 >/dev/null | grep "got:" | cut -d':' -f2 | sed 's| ||g')
|
||||
VENDOR_HASH=$(nix hash convert --hash-algo sha256 --to sri "$VENDOR_SHA256")
|
||||
VENDOR_HASH=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$VENDOR_SHA256")
|
||||
set -e
|
||||
|
||||
if [ -n "${VENDOR_HASH:-}" ]; then
|
||||
|
@ -91,7 +91,7 @@ stdenvNoCC.mkDerivation (
|
||||
|
||||
echo "Fetching hash for $system"
|
||||
hash=$(nix-prefetch-url --type sha256 $url --unpack)
|
||||
sriHash="$(nix hash to-sri --type sha256 $hash)"
|
||||
sriHash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $hash)"
|
||||
|
||||
yq -iPoj ". + { \"$system\": { \"url\": \"$url\", \"hash\": \"$sriHash\" } }" "$tempfile"
|
||||
}
|
||||
@ -101,7 +101,7 @@ stdenvNoCC.mkDerivation (
|
||||
|
||||
echo "Fetching hash"
|
||||
hash=$(nix-prefetch-url --type sha256 $url --unpack)
|
||||
sriHash="$(nix hash to-sri --type sha256 $hash)"
|
||||
sriHash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $hash)"
|
||||
|
||||
yq -iPoj ". + { \"url\": \"$url\", \"hash\": \"$sriHash\" }" "$tempfile"
|
||||
}
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gh-dash";
|
||||
version = "4.16.0";
|
||||
version = "4.16.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dlvhdr";
|
||||
repo = "gh-dash";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-qqQ+UmeHvqA57evAn9dBLBeXx1n2z804XcmP82ZgEKc=";
|
||||
hash = "sha256-yPD4/qCXfDDf5tBEc2HvNFQTwa8NNLBV23KIU6XfLco=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-9nSuXZyi/+gyU2D1OL+6Bw9GKvYPdsj7dUmBcESHePw=";
|
||||
vendorHash = "sha256-AeDGtEh+8sAczm0hBebvMdK/vTDzQsSXcB0xIYcQd8o=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
@ -41,7 +41,7 @@ update_linux() {
|
||||
|
||||
local download_url="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${version}-1_amd64.deb"
|
||||
new_hash="$(nix-prefetch-url "$download_url" 2>/dev/null)"
|
||||
new_sri_hash="$(nix hash to-sri --type sha256 "$new_hash")"
|
||||
new_sri_hash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 "$new_hash")"
|
||||
|
||||
sed -i "/^ linux = stdenvNoCC.mkDerivation/,/^ });/s/version = \".*\"/version = \"$version\"/" "$DEFAULT_NIX"
|
||||
sed -i "/^ linux = stdenvNoCC.mkDerivation/,/^ });/s|hash = \".*\"|hash = \"$new_sri_hash\"|" "$DEFAULT_NIX"
|
||||
@ -87,8 +87,8 @@ update_darwin() {
|
||||
manifest_version="$(echo "$response" | xmllint --xpath "string(//manifest/@version)" -)"
|
||||
|
||||
local download_url="$url$pkg"
|
||||
new_hash="$(nix hash to-sri --type sha256 "$(nix-prefetch-url "$download_url" 2>/dev/null)")"
|
||||
new_sri_hash="$(nix hash to-sri --type sha256 "$new_hash")"
|
||||
new_hash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 "$(nix-prefetch-url "$download_url" 2>/dev/null)")"
|
||||
new_sri_hash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 "$new_hash")"
|
||||
|
||||
sed -i "/^ darwin = stdenvNoCC.mkDerivation/,/^ });/s/version = \".*\"/version = \"$manifest_version\"/" "$DEFAULT_NIX"
|
||||
sed -i "/^ darwin = stdenvNoCC.mkDerivation/,/^ });/s|hash = \".*\"|hash = \"$new_sri_hash\"|" "$DEFAULT_NIX"
|
||||
|
@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "grpc-client-cli";
|
||||
version = "1.22.3";
|
||||
version = "1.22.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vadimi";
|
||||
repo = "grpc-client-cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-6dUdyBmwX97Xvy7CYMUrpQxG25uPFyPFhwFI3QMzWtU=";
|
||||
sha256 = "sha256-xZjVKVbVSchsnAH9DC68IHAqIG6W3DrF5L3Vt+pbyTU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Iiifu0dYgeqWUgWRjJ3uaBL6SyYl2Ehqzk+1COO/XXI=";
|
||||
vendorHash = "sha256-XhbmyPZ0GFNRfnHBfMxgSXNLPoCE85e52xcQFhqOrl4=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "generic gRPC command line client";
|
||||
|
@ -19,6 +19,6 @@ for system in \
|
||||
aarch64-linux \
|
||||
x86_64-darwin \
|
||||
aarch64-darwin; do
|
||||
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; hamrs-pro.src.url" --system "$system" | tr -d '"')))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; hamrs-pro.src.url" --system "$system" | tr -d '"')))
|
||||
update-source-version hamrs-pro $latestVersion $hash --system=$system --ignore-same-version
|
||||
done
|
||||
|
@ -154,7 +154,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
if [[ "x$UPDATE_NIX_OLD_VERSION" != "x$version" ]]; then
|
||||
|
||||
revision=$(jq -r .revision <<<"$data")
|
||||
hash=$(nix hash to-sri "sha512:$(jq -r .download_sha512 <<<"$data")")
|
||||
hash=$(nix --extra-experimental-features nix-command hash to-sri "sha512:$(jq -r .download_sha512 <<<"$data")")
|
||||
|
||||
update-source-version "$UPDATE_NIX_ATTR_PATH" "$version" "$hash"
|
||||
update-source-version --ignore-same-hash --version-key=rev "$UPDATE_NIX_ATTR_PATH" "$revision" "$hash"
|
||||
|
@ -19,6 +19,6 @@ for system in \
|
||||
x86_64-linux \
|
||||
x86_64-darwin \
|
||||
aarch64-darwin; do
|
||||
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import $BASEDIR {}; hoppscotch.src.url" --system "$system" | tr -d '"')))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import $BASEDIR {}; hoppscotch.src.url" --system "$system" | tr -d '"')))
|
||||
(cd $BASEDIR && update-source-version hoppscotch $latestVersion $hash --system=$system --ignore-same-version)
|
||||
done
|
||||
|
@ -35,7 +35,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
curl -Lo $tmp/I.Ming.ttf https://raw.githubusercontent.com/ichitenfont/I.Ming/$version/$version/I.Ming-$version.ttf
|
||||
install -DT -m444 $tmp/I.Ming.ttf $tmp/share/fonts/truetype/I.Ming/I.Ming.ttf
|
||||
rm $tmp/I.Ming.ttf
|
||||
hash=$(nix hash path --type sha256 --base32 --sri $tmp)
|
||||
hash=$(nix --extra-experimental-features nix-command hash path --type sha256 --base32 --sri $tmp)
|
||||
sed -i -E \
|
||||
-e "s/version = \"[0-9.]+\"/version = \"$version\"/" \
|
||||
-e "s|hash = \".*\"|hash = \"$hash\"|" \
|
||||
|
@ -37,7 +37,7 @@ printf '{\n' > "$dirname/hashes.nix"
|
||||
|
||||
for family in "${families[@]}"; do
|
||||
url="https://github.com/IBM/plex/releases/download/%40ibm%2Fplex-${family}%40${version}/ibm-plex-${family}.zip"
|
||||
printf ' "%s" = "%s";\n' "$family" "$(nix-prefetch-url --unpack "$url" | xargs nix hash convert --hash-algo sha256)" >>"$dirname/hashes.nix"
|
||||
printf ' "%s" = "%s";\n' "$family" "$(nix-prefetch-url --unpack "$url" | xargs nix --extra-experimental-features nix-command hash convert --hash-algo sha256)" >>"$dirname/hashes.nix"
|
||||
done
|
||||
|
||||
printf '}\n' >> "$dirname/hashes.nix"
|
||||
|
@ -64,7 +64,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
version="$(jq -r .version <<<$core_json)"
|
||||
sha256="$(jq -r .sha256 <<<$core_json)"
|
||||
hash="$(nix hash to-sri --type sha256 "$sha256")"
|
||||
hash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 "$sha256")"
|
||||
|
||||
if [ ! "$oldVersion" = "$version" ]; then
|
||||
update-source-version jenkins "$version" "$hash"
|
||||
|
@ -28,6 +28,6 @@ for system in $systems; do
|
||||
unpack=""
|
||||
fi
|
||||
prefetch=$(nix-prefetch-url $unpack "$url")
|
||||
hash=$(nix hash convert --hash-algo sha256 --to sri $prefetch)
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri $prefetch)
|
||||
update-source-version jetbrains-toolbox $latestVersion $hash --system=$system --ignore-same-version
|
||||
done
|
||||
|
@ -20,7 +20,7 @@ if [[ "$latestVersion" == "$currentVersion" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
hash=$(nix hash convert --hash-algo sha256 --to sri $(nix-prefetch-url --unpack "https://github.com/AChep/keyguard-app/archive/refs/tags/${latestTag}.tar.gz"))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri $(nix-prefetch-url --unpack "https://github.com/AChep/keyguard-app/archive/refs/tags/${latestTag}.tar.gz"))
|
||||
update-source-version keyguard $latestVersion $hash
|
||||
|
||||
sed -i 's/tag = "r[0-9]\+\(\.[0-9]\+\)\?";/tag = "'"$latestTag"'";/g' "$ROOT/package.nix"
|
||||
|
@ -19,6 +19,6 @@ for i in \
|
||||
"x86_64-linux linux-x86_64" \
|
||||
"aarch64-linux linux-arm64"; do
|
||||
set -- $i
|
||||
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))
|
||||
hash=$(nix --extra-experimental-features nix-command 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))
|
||||
update-source-version librewolf-bin-unwrapped $latestVersion $hash --system=$1 --ignore-same-version
|
||||
done
|
||||
|
@ -11,7 +11,7 @@ for system in "aarch64-darwin darwin/arm64" "x86_64-linux linux/x64"; do
|
||||
arch="${1}"
|
||||
url=$(echo "${packages}" | grep "${2}")
|
||||
version="$(echo "${url}" | cut -d/ -f6)"
|
||||
hash=$(nix hash convert --hash-algo sha256 "$(nix-prefetch-url "${url}")")
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 "$(nix-prefetch-url "${url}")")
|
||||
|
||||
update-source-version lmstudio "${version}" "${hash}" --system="${arch}" --version-key="version_${arch}" \
|
||||
2> >(tee /dev/stderr) | grep -q "nothing to do" && exit
|
||||
|
@ -17,10 +17,10 @@ fi
|
||||
sed -i "s/version = \".*\"/version = \"${latestVersion}\"/" "$ROOT/package.nix"
|
||||
|
||||
DARWIN_x64_URL="https://github.com/localsend/localsend/releases/download/v${latestVersion}/LocalSend-${latestVersion}.dmg"
|
||||
DARWIN_X64_SHA=$(nix hash to-sri --type sha256 $(nix-prefetch-url ${DARWIN_x64_URL}))
|
||||
DARWIN_X64_SHA=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $(nix-prefetch-url ${DARWIN_x64_URL}))
|
||||
sed -i "/darwin/,/hash/{s|hash = \".*\"|hash = \"${DARWIN_X64_SHA}\"|}" "$ROOT/package.nix"
|
||||
|
||||
GIT_SRC_URL="https://github.com/localsend/localsend/archive/refs/tags/v${latestVersion}.tar.gz"
|
||||
GIT_SRC_SHA=$(nix hash to-sri --type sha256 $(nix-prefetch-url --unpack ${GIT_SRC_URL}))
|
||||
GIT_SRC_SHA=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $(nix-prefetch-url --unpack ${GIT_SRC_URL}))
|
||||
sed -i "/linux/,/hash/{s|hash = \".*\"|hash = \"${GIT_SRC_SHA}\"|}" "$ROOT/package.nix"
|
||||
curl https://raw.githubusercontent.com/localsend/localsend/v${latestVersion}/app/pubspec.lock | yq . > $ROOT/pubspec.lock.json
|
||||
|
@ -1,29 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildGo124Module,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGo124Module rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "matrix-alertmanager-receiver";
|
||||
version = "2025.5.21";
|
||||
version = "2025.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "metio";
|
||||
repo = "matrix-alertmanager-receiver";
|
||||
tag = version;
|
||||
hash = "sha256-W0dvaJ1o43un5UskAmpKomZjIHiclOoiOkxGawP0fyk=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Dz2oP3lNxO75Lqmke0WprvI1yuuQIv3HffNxMYCSJso=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ZM7qA73fPPRgs378uDQoYs32e7i8LmBjqZ7RjzWEW28=";
|
||||
vendorHash = "sha256-+tkxK3h6N45XA4OvdNYrRFNbqJLGflY2v8oF36Gpwm4=";
|
||||
|
||||
env.CGO_ENABLED = "0";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.matrixAlertmanagerReceiverVersion=${version}"
|
||||
"-X main.matrixAlertmanagerReceiverVersion=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
versionCheckProgramArg = "--version";
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
@ -31,9 +39,9 @@ buildGo124Module rec {
|
||||
meta = {
|
||||
description = "Alertmanager client that forwards alerts to a Matrix room";
|
||||
homepage = "https://github.com/metio/matrix-alertmanager-receiver";
|
||||
changelog = "https://github.com/metio/matrix-alertmanager-receiver/releases/tag/${version}";
|
||||
changelog = "https://github.com/metio/matrix-alertmanager-receiver/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ liberodark ];
|
||||
mainProgram = "matrix-alertmanager-receiver";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
@ -2,7 +2,7 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildNpmPackage,
|
||||
electron_34,
|
||||
electron_35,
|
||||
makeWrapper,
|
||||
testers,
|
||||
mattermost-desktop,
|
||||
@ -10,21 +10,21 @@
|
||||
}:
|
||||
|
||||
let
|
||||
electron = electron_34;
|
||||
electron = electron_35;
|
||||
in
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "mattermost-desktop";
|
||||
version = "5.11.2";
|
||||
version = "5.12.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mattermost";
|
||||
repo = "desktop";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-03874pV7/GqydMdaSlh3N17LsbHppfPdYJ8nGdbvvbk=";
|
||||
hash = "sha256-Sn6gKkeN+wRgTnFtQ9ewAFvRsRdXVo11ibaxFvSG7dg=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-v6XEJJ9kozkY7HSLNJtM+86+36G7wt8xIFwCyO7x11Y=";
|
||||
npmDepsHash = "sha256-U6pmvSfps1VzKFnzJ0yij2r0uLrtnujZv+LVediX1Bo=";
|
||||
npmBuildScript = "build-prod";
|
||||
makeCacheWritable = true;
|
||||
|
||||
|
@ -18,6 +18,6 @@ for i in \
|
||||
"aarch64-linux arm64"; do
|
||||
set -- $i
|
||||
prefetch=$(nix-prefetch-url "https://github.com/mihomo-party-org/mihomo-party/releases/download/v$latestVersion/mihomo-party-linux-$latestVersion-$2.deb")
|
||||
hash=$(nix hash convert --hash-algo sha256 --to sri $prefetch)
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri $prefetch)
|
||||
update-source-version mihomo-party $latestVersion $hash --system=$1 --ignore-same-version
|
||||
done
|
||||
|
@ -1,48 +0,0 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Kenichi Kamiya <kachick1@gmail.com>
|
||||
Date: Sun, 15 Jun 2025 10:35:51 +0900
|
||||
Subject: [PATCH] Fix broken symlinks
|
||||
|
||||
---
|
||||
scalable/apps/gnome-character-map.svg | 2 +-
|
||||
symbolic/apps/pamac-manager-symbolic.svg | 2 +-
|
||||
symbolic/apps/pamac-symbolic.svg | 2 +-
|
||||
symbolic/apps/pamac-updater-symbolic.svg | 2 +-
|
||||
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/scalable/apps/gnome-character-map.svg b/scalable/apps/gnome-character-map.svg
|
||||
index f04d4679adb66b897b42396e75896f4c46199c24..d400f7677eefaa10db958bb324247825d8c3578e 120000
|
||||
--- a/scalable/apps/gnome-character-map.svg
|
||||
+++ b/scalable/apps/gnome-character-map.svg
|
||||
@@ -1 +1 @@
|
||||
-accessories-character-map.svg
|
||||
\ No newline at end of file
|
||||
+../legacy/accessories-character-map.svg
|
||||
\ No newline at end of file
|
||||
diff --git a/symbolic/apps/pamac-manager-symbolic.svg b/symbolic/apps/pamac-manager-symbolic.svg
|
||||
index 758557a5c791b43de172d29f466fe6b6cb9d5207..106458e72401668bca4b9457cd6c2eff9ea7e4e2 120000
|
||||
--- a/symbolic/apps/pamac-manager-symbolic.svg
|
||||
+++ b/symbolic/apps/pamac-manager-symbolic.svg
|
||||
@@ -1 +1 @@
|
||||
-system-software-install-symbolic.svg
|
||||
\ No newline at end of file
|
||||
+../legacy/system-software-install-symbolic.svg
|
||||
\ No newline at end of file
|
||||
diff --git a/symbolic/apps/pamac-symbolic.svg b/symbolic/apps/pamac-symbolic.svg
|
||||
index 758557a5c791b43de172d29f466fe6b6cb9d5207..106458e72401668bca4b9457cd6c2eff9ea7e4e2 120000
|
||||
--- a/symbolic/apps/pamac-symbolic.svg
|
||||
+++ b/symbolic/apps/pamac-symbolic.svg
|
||||
@@ -1 +1 @@
|
||||
-system-software-install-symbolic.svg
|
||||
\ No newline at end of file
|
||||
+../legacy/system-software-install-symbolic.svg
|
||||
\ No newline at end of file
|
||||
diff --git a/symbolic/apps/pamac-updater-symbolic.svg b/symbolic/apps/pamac-updater-symbolic.svg
|
||||
index 758557a5c791b43de172d29f466fe6b6cb9d5207..106458e72401668bca4b9457cd6c2eff9ea7e4e2 120000
|
||||
--- a/symbolic/apps/pamac-updater-symbolic.svg
|
||||
+++ b/symbolic/apps/pamac-updater-symbolic.svg
|
||||
@@ -1 +1 @@
|
||||
-system-software-install-symbolic.svg
|
||||
\ No newline at end of file
|
||||
+../legacy/system-software-install-symbolic.svg
|
||||
\ No newline at end of file
|
@ -8,26 +8,17 @@
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "morewaita-icon-theme";
|
||||
version = "48.2";
|
||||
version = "48.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "somepaulo";
|
||||
repo = "MoreWaita";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-eCMU5RNlqHN6tImGd2ur+rSC+kR5xQ8Zh4BaRgjBHVc=";
|
||||
hash = "sha256-ywZSRNXVxjs5l5UO4yvNZ7q7PRlaLNi/2+HSNhe8e5w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Avoiding "ERROR: noBrokenSymlinks". ref: https://github.com/somepaulo/MoreWaita/pull/335
|
||||
./fix-broken-symlinks.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs install.sh
|
||||
|
||||
# Replace this workaround if https://github.com/somepaulo/MoreWaita/pull/339 is merged
|
||||
substituteInPlace install.sh \
|
||||
--replace-fail '"''${HOME}/.local/share/' '"$out/share/'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -38,7 +29,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
./install.sh
|
||||
THEMEDIR="$out/share/icons/MoreWaita" ./install.sh
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
@ -67,7 +67,7 @@ writeShellScript "update-${pname}" ''
|
||||
for platform in ${lib.escapeShellArgs meta.platforms}; do
|
||||
arch="''${platforms[$platform]}"
|
||||
sha256=$(grep "${name}-$arch-$version.tar.xz" "$HOME/shasums" | head -1 | cut -d" " -f1)
|
||||
hash=$(nix hash to-sri --type sha256 "$sha256")
|
||||
hash=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 "$sha256")
|
||||
|
||||
update-source-version "${pname}" "$version" "$hash" --ignore-same-version --source-key="sources.$platform"
|
||||
done
|
||||
|
@ -58,7 +58,7 @@ echo
|
||||
echo "Verifying commit"
|
||||
git -C $repo verify-commit HEAD
|
||||
rm -rf $repo/.git
|
||||
newHash=$(nix hash-path $repo)
|
||||
newHash=$(nix --extra-experimental-features nix-command hash path $repo)
|
||||
rm -rf $tmpdir
|
||||
echo
|
||||
|
||||
|
109
pkgs/by-name/ne/nexusmods-app/deps.json
generated
109
pkgs/by-name/ne/nexusmods-app/deps.json
generated
@ -279,6 +279,11 @@
|
||||
"version": "8.5.0",
|
||||
"hash": "sha256-mLraPiJa1JiXOWQ17GUp8MWuBNrIjcYYjItQRfMjP8s="
|
||||
},
|
||||
{
|
||||
"pname": "EnumerableAsyncProcessor",
|
||||
"version": "2.1.0",
|
||||
"hash": "sha256-WljvqFPe95cjtm+VfaeLvQDFW2j9QQBWJAd0bM8VXN0="
|
||||
},
|
||||
{
|
||||
"pname": "ExCSS",
|
||||
"version": "4.3.0",
|
||||
@ -356,58 +361,58 @@
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-a+/4rJbo7dc4sVRg6TtvfCt02/Qlih9ovwwkAf6Lve0="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-tUUvWC8/HTFvESqSPN2HMnGkf6OroDBpHCbqo1ThD/8="
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder.Common",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-PNGHswvAeJyr0ipbxY884c9/SKsoYXEYMsI5ymfJovQ="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-lPTPiywObx6SEaBKuL25+eLdfVHuWb1x14Q7aMpXLMQ="
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder.Launcher.Heroic",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-sQth9S4artOEA0nalFZRQKLkMU7IqHCx/B5HG8fJVZk="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-Rp9I0XfW4KhyOSgyPzhR9aHYVcLDwUnpmvTjowviWC8="
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder.RegistryUtils",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-ujiSbIH5JHG4c861ex3zm+Uf7RbV+2tNFHKY2gtkwFg="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-Z4IbxyMx6apZt9SYfDFvWD8I/qSP2S4kEz8hXym96KY="
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder.StoreHandlers.EADesktop",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-BcSyWqlsFXaQmYqD+dR2FSNI0NkzjkH9kZCqp4YOy14="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-RbPZayuG9OJXI1aSL2d5vfjfXlEAWFz9aZrXDXX6jhM="
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder.StoreHandlers.EGS",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-YAz1gf77Bm18dZe0h1zKO52ZJ7sw6XRz1XPQRVt8W3U="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-99DbRfzESJZAUDd3yREb8M6Mgn8dztNQqBPyR1bsST4="
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder.StoreHandlers.GOG",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-hvA+kf2ZvpDS1pVSTAJ2839b1rRamJTz+Erux/OmdfE="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-u0Vm9k8XAkzOdW2U6nzuRPWgMxj3QwkvFc5S4c8A/u4="
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder.StoreHandlers.Origin",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-U7ko6fWujUXabVEe0Xxc5PXwb2VBFCyHIByg3MzleG4="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-f/saANmx8zYrZ+G3xbsy2w7mQwC0Jmb5WpUSlZNyzJU="
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder.StoreHandlers.Steam",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-G1YPgAn7ORQuBm5ZD78EzKS1hIiLyQgjcX2RzSYWbO4="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-5WtdyR1/xX+Ra5ldlvM0leIgc8gTGaPKAFOC/KTHGk8="
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder.StoreHandlers.Xbox",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-LSxBpARmANJg199wBZ5FgvBUkq5JvCjTUEe9X+Gs+Ec="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-Z9RpXomR53mLhD0WH7pCYxmnQIAsGiBVqUgs4I0ZO4w="
|
||||
},
|
||||
{
|
||||
"pname": "GameFinder.Wine",
|
||||
"version": "4.7.2",
|
||||
"hash": "sha256-YQgkRgF/wh+Jy5dIDBBE3lExDv5XpylL/xNBf0ge9sI="
|
||||
"version": "4.7.3",
|
||||
"hash": "sha256-PO8aXHEvCxBQq92GyPl3b//s4MTCU7T8mvryS4p0Hsg="
|
||||
},
|
||||
{
|
||||
"pname": "Gee.External.Capstone",
|
||||
@ -1544,6 +1549,26 @@
|
||||
"version": "8.0.0",
|
||||
"hash": "sha256-hNTkpKdCLY5kIuOmznD1mY+pRdJ0PKu2HypyXog9vb0="
|
||||
},
|
||||
{
|
||||
"pname": "Microsoft.Testing.Extensions.TrxReport.Abstractions",
|
||||
"version": "1.7.1",
|
||||
"hash": "sha256-zaDOAoEA4CF6/7rXLBO5f5d8PpcqB7hKlwdEWzaFsNk="
|
||||
},
|
||||
{
|
||||
"pname": "Microsoft.Testing.Platform",
|
||||
"version": "1.4.3",
|
||||
"hash": "sha256-KqB3+uBGl0edpaGl6Qykubb3OrVTs6IcPWc59UQ/Iww="
|
||||
},
|
||||
{
|
||||
"pname": "Microsoft.Testing.Platform",
|
||||
"version": "1.7.1",
|
||||
"hash": "sha256-YJ41q1VXvFZh/TWo3tutGQnhNCrxv/QbDLTxCS4b/w4="
|
||||
},
|
||||
{
|
||||
"pname": "Microsoft.Testing.Platform.MSBuild",
|
||||
"version": "1.4.3",
|
||||
"hash": "sha256-289hhblU55kDvzbiSQAFSxOyht1MlXT4e+bEQyQqils="
|
||||
},
|
||||
{
|
||||
"pname": "Microsoft.TestPlatform.ObjectModel",
|
||||
"version": "17.10.0",
|
||||
@ -1671,13 +1696,13 @@
|
||||
},
|
||||
{
|
||||
"pname": "NexusMods.Cascade",
|
||||
"version": "0.15.0",
|
||||
"hash": "sha256-lmb0zvp4cq9oOF25B/J2iBKmiBAMGtCYb6WMqeqwgA0="
|
||||
"version": "0.16.0",
|
||||
"hash": "sha256-TybY3XW0/crQT4pTbHCW7VsAdoTGLTU/GwAxVfxv4uc="
|
||||
},
|
||||
{
|
||||
"pname": "NexusMods.Cascade.SourceGenerator",
|
||||
"version": "0.15.0",
|
||||
"hash": "sha256-8tfNAUILcmBPeZNiQJ7VC+jbuFEhT9aZo/T7gnn4ZAI="
|
||||
"version": "0.16.0",
|
||||
"hash": "sha256-fc6Gvf0e1pVZSJvyUJcZQUAsIXh3K9xXSn/3UHeOhZc="
|
||||
},
|
||||
{
|
||||
"pname": "NexusMods.Hashing.xxHash3",
|
||||
@ -1691,18 +1716,18 @@
|
||||
},
|
||||
{
|
||||
"pname": "NexusMods.MnemonicDB",
|
||||
"version": "0.15.0",
|
||||
"hash": "sha256-4rtb6WRCxknp0a47tg3JPkvGOCoRXl4ilQZOaTvYQFw="
|
||||
"version": "0.17.0",
|
||||
"hash": "sha256-1BAprdtAvVRfA5fpKV3BxpW7PIkSXWbWnUI70uTzk6k="
|
||||
},
|
||||
{
|
||||
"pname": "NexusMods.MnemonicDB.Abstractions",
|
||||
"version": "0.15.0",
|
||||
"hash": "sha256-BWx5MjJfSu4UGRVnFIncfSg6tu5OetSTdtDsIHwHZ5Q="
|
||||
"version": "0.17.0",
|
||||
"hash": "sha256-eXGPNioGdwhjYhCjV7Aj2vwS2lcMOHxNWfIL9Ww5+NM="
|
||||
},
|
||||
{
|
||||
"pname": "NexusMods.MnemonicDB.SourceGenerator",
|
||||
"version": "0.15.0",
|
||||
"hash": "sha256-MuMgcHn+73izfYdA6WTHpvKBAITxuNhtGSW1JCJD4Y0="
|
||||
"version": "0.17.0",
|
||||
"hash": "sha256-TDHxCFa8qWfHD80utMZpD4DWkz0O3MJA3nQAtQgpdFI="
|
||||
},
|
||||
{
|
||||
"pname": "NexusMods.Paths",
|
||||
@ -3169,6 +3194,26 @@
|
||||
"version": "1.1.0",
|
||||
"hash": "sha256-I2NBomTTExaEhf9/BoplBbDJ9B7YMS3nUOQ5Od4A/e0="
|
||||
},
|
||||
{
|
||||
"pname": "TUnit",
|
||||
"version": "0.25.0",
|
||||
"hash": "sha256-rQaQ9DQF+y2bbtFqIa7oVtXC+dgGi6nYLTyZjrhmN9s="
|
||||
},
|
||||
{
|
||||
"pname": "TUnit.Assertions",
|
||||
"version": "0.25.0",
|
||||
"hash": "sha256-DuurVpcD3mxMl7nh3nmtxsUyBNRyeZi3vy91lzwQYyA="
|
||||
},
|
||||
{
|
||||
"pname": "TUnit.Core",
|
||||
"version": "0.25.0",
|
||||
"hash": "sha256-zaTFjXPtR2muqmyyWt1GxL5ACp5tiArcH6B2h4PscNw="
|
||||
},
|
||||
{
|
||||
"pname": "TUnit.Engine",
|
||||
"version": "0.25.0",
|
||||
"hash": "sha256-0/5JkVww0Ek48VaTuZ/mkNcVCef43k0F95QU8WS71Nc="
|
||||
},
|
||||
{
|
||||
"pname": "Validation",
|
||||
"version": "2.3.7",
|
||||
|
@ -23,12 +23,12 @@ let
|
||||
in
|
||||
buildDotnetModule (finalAttrs: {
|
||||
inherit pname;
|
||||
version = "0.12.3";
|
||||
version = "0.13.4";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/Nexus-Mods/NexusMods.App.git";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-X0zF0zqWwuCt7oWXwfzDtu+7KZ3yMQwQqP45rlfGm/o=";
|
||||
hash = "sha256-Ub6HjZChOhRUDYQ2TAnrwOtrW6ahP+k74vCAmLkYABA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -15,7 +15,7 @@ updateHash()
|
||||
|
||||
url="https://github.com/Ombi-app/Ombi/releases/download/v$version/$os-$arch.tar.gz"
|
||||
hash=$(nix-prefetch-url --type sha256 $url)
|
||||
sriHash="$(nix hash to-sri --type sha256 $hash)"
|
||||
sriHash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $hash)"
|
||||
|
||||
sed -i "s|$hashKey = \"[a-zA-Z0-9\/+-=]*\";|$hashKey = \"$sriHash\";|g" "$dirname/default.nix"
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ for system in \
|
||||
aarch64-linux \
|
||||
x86_64-darwin \
|
||||
aarch64-darwin; do
|
||||
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url --unpack $(nix-instantiate --eval -E "with import ./. {}; pdfium-binaries.src.url" --system "$system" | tr -d '"')))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url --unpack $(nix-instantiate --eval -E "with import ./. {}; pdfium-binaries.src.url" --system "$system" | tr -d '"')))
|
||||
update-source-version pdfium-binaries $latestVersion $hash --system=$system --ignore-same-version
|
||||
done
|
||||
|
||||
@ -30,6 +30,6 @@ for system in \
|
||||
aarch64-linux \
|
||||
x86_64-darwin \
|
||||
aarch64-darwin; do
|
||||
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url --unpack $(nix-instantiate --eval -E "with import ./. {}; pdfium-binaries-v8.src.url" --system "$system" | tr -d '"')))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url --unpack $(nix-instantiate --eval -E "with import ./. {}; pdfium-binaries-v8.src.url" --system "$system" | tr -d '"')))
|
||||
update-source-version pdfium-binaries-v8 $latestVersion $hash --system=$system --ignore-same-version
|
||||
done
|
||||
|
@ -23,7 +23,7 @@ src="$(nix-build -A "${UPDATE_NIX_ATTR_PATH}".src --no-out-link)"
|
||||
echo " url = \"${url}\";"
|
||||
|
||||
hash="$(nix-prefetch-url "${url}" --name "${UPDATE_NIX_PNAME}-${name,,}-${version}.tar.gz")"
|
||||
hash="$(nix hash convert --hash-algo sha256 "${hash}")"
|
||||
hash="$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 "${hash}")"
|
||||
|
||||
echo " hash = \"${hash}\";"
|
||||
|
||||
|
@ -19,6 +19,6 @@ for system in \
|
||||
aarch64-linux \
|
||||
x86_64-darwin \
|
||||
aarch64-darwin; do
|
||||
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; phoenixd.src.url" --system "$system" | tr -d '"')))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; phoenixd.src.url" --system "$system" | tr -d '"')))
|
||||
update-source-version phoenixd $latestVersion $hash --system=$system --ignore-same-version
|
||||
done
|
||||
|
@ -18,7 +18,7 @@ fi
|
||||
|
||||
sed -i "s/\(tag = \"\${version}+\)[0-9]\+/\1${RunNumber}/" "$ROOT/package.nix"
|
||||
|
||||
hash=$(nix hash convert --hash-algo sha256 --to sri $(nix-prefetch-url --unpack "https://github.com/orz12/PiliPalaX/archive/refs/tags/${latestTag}.tar.gz"))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri $(nix-prefetch-url --unpack "https://github.com/orz12/PiliPalaX/archive/refs/tags/${latestTag}.tar.gz"))
|
||||
update-source-version pilipalax $latestVersion $hash
|
||||
|
||||
curl https://raw.githubusercontent.com/orz12/PiliPalaX/${latestTag}/pubspec.lock | yq . >$ROOT/pubspec.lock.json
|
||||
|
@ -10,9 +10,9 @@ version=$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} \
|
||||
linux_arm64_url=https://github.com/platformsh/cli/releases/download/$version/platform_${version}_linux_arm64.tar.gz
|
||||
linux_amd64_url=https://github.com/platformsh/cli/releases/download/$version/platform_${version}_linux_amd64.tar.gz
|
||||
darwin_all_url=https://github.com/platformsh/cli/releases/download/$version/platform_${version}_darwin_all.tar.gz
|
||||
linux_arm64_hash=$(nix hash to-sri --type sha256 $(nix-prefetch-url --type sha256 "$linux_arm64_url"))
|
||||
linux_amd64_hash=$(nix hash to-sri --type sha256 $(nix-prefetch-url --type sha256 "$linux_amd64_url"))
|
||||
darwin_all_hash=$(nix hash to-sri --type sha256 $(nix-prefetch-url --type sha256 "$darwin_all_url"))
|
||||
linux_arm64_hash=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $(nix-prefetch-url --type sha256 "$linux_arm64_url"))
|
||||
linux_amd64_hash=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $(nix-prefetch-url --type sha256 "$linux_amd64_url"))
|
||||
darwin_all_hash=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $(nix-prefetch-url --type sha256 "$darwin_all_url"))
|
||||
jq -n \
|
||||
--arg version "$version" \
|
||||
--arg darwin_all_hash "$darwin_all_hash" \
|
||||
|
@ -27,7 +27,7 @@ version="$(
|
||||
echo '{' >"${HASHES_FILE}"
|
||||
for arch in "${ARCHS[@]}"; do
|
||||
url="https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/${version}/protoc-gen-grpc-java-${version}-${arch}.exe"
|
||||
hash=$(nix hash convert --hash-algo sha256 --to sri "$(nix-prefetch-url "${url}")")
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$(nix-prefetch-url "${url}")")
|
||||
echo " ${arch} = \"${hash}\";" >>"${HASHES_FILE}"
|
||||
done
|
||||
echo '}' >>"${HASHES_FILE}"
|
||||
|
@ -16,7 +16,7 @@ darwin_url=$(jq -r .downloadUrl <<< "$darwin_payload")
|
||||
darwin_hash=$(nix-prefetch-url $darwin_url)
|
||||
|
||||
# use friendlier hashes
|
||||
darwin_hash=$(nix hash convert --to sri --hash-algo sha256 "$darwin_hash")
|
||||
darwin_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$darwin_hash")
|
||||
|
||||
# linux
|
||||
|
||||
@ -31,8 +31,8 @@ linux_aarch64_hash=$(nix-prefetch-url $linux_aarch64_url)
|
||||
linux_x86_64_hash=$(nix-prefetch-url $linux_x86_64_url)
|
||||
|
||||
# use friendlier hashes
|
||||
linux_aarch64_hash=$(nix hash convert --to sri --hash-algo sha256 "$linux_aarch64_hash")
|
||||
linux_x86_64_hash=$(nix hash convert --to sri --hash-algo sha256 "$linux_x86_64_hash")
|
||||
linux_aarch64_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$linux_aarch64_hash")
|
||||
linux_x86_64_hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$linux_x86_64_hash")
|
||||
|
||||
cat >sources.nix <<EOF
|
||||
# Generated by ./update.sh - do not update manually!
|
||||
|
@ -15,7 +15,7 @@ updateHash()
|
||||
|
||||
url="https://github.com/Readarr/Readarr/releases/download/v$version/Readarr.develop.$version.$os-core-$arch.tar.gz"
|
||||
hash=$(nix-prefetch-url --type sha256 $url)
|
||||
sriHash="$(nix hash to-sri --type sha256 $hash)"
|
||||
sriHash="$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $hash)"
|
||||
|
||||
sed -i "s|$hashKey = \"[a-zA-Z0-9\/+-=]*\";|$hashKey = \"$sriHash\";|g" "$dirname/package.nix"
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
#!nix-shell -i bash -p curl jq common-updater-scripts nix nix-prefetch findutils moreutils
|
||||
|
||||
prefetch-sri() {
|
||||
nix-prefetch-url "$1" | xargs nix hash to-sri --type sha256
|
||||
nix-prefetch-url "$1" | xargs nix --extra-experimental-features nix-command hash to-sri --type sha256
|
||||
}
|
||||
|
||||
res="$(curl ''${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} \
|
||||
|
@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
if [[ "x$UPDATE_NIX_OLD_VERSION" != "x$full_version" ]]; then
|
||||
download_url="https://packagecloud.io/pagerduty/rundeck/packages/java/org.rundeck/rundeck-$full_version.war/artifacts/rundeck-$full_version.war/download?distro_version_id=167"
|
||||
hash=$(curl -L "$download_url" | nix-hash --flat --type sha256 --base32 - | nix hash to-sri --type sha256)
|
||||
hash=$(curl -L "$download_url" | nix-hash --flat --type sha256 --base32 - | nix --extra-experimental-features nix-command hash to-sri --type sha256)
|
||||
update-source-version "$UPDATE_NIX_ATTR_PATH" "$full_version" "$hash"
|
||||
fi
|
||||
'';
|
||||
|
@ -17,13 +17,13 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "sherlock-launcher";
|
||||
version = "0.1.13-hotfix-1";
|
||||
version = "0.1.13-hotfix-2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Skxxtz";
|
||||
repo = "sherlock";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-h8/72EipLTssik2I4GSfBRSc34ecAm0L39wA9hnGrR4=";
|
||||
hash = "sha256-5ERCusCDf+GCwmJc5BrEK8Kn5ClMOILBStv17vyS7MQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -17,7 +17,7 @@ latestBuildAarch64=$(jq '.id' <<< $latestBuildInfoAarch64)
|
||||
latestVersionAarch64=$(jq -r '.source_package.version' <<< $latestBuildInfoAarch64)
|
||||
latestPrettyVersionAarch64="${latestVersionAarch64%-*}"
|
||||
|
||||
darwinHash="$(nix hash convert --hash-algo sha256 --to sri "$(nix-prefetch-url "https://updates.signal.org/desktop/signal-desktop-mac-universal-${latestVersion}.dmg")")"
|
||||
darwinHash="$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$(nix-prefetch-url "https://updates.signal.org/desktop/signal-desktop-mac-universal-${latestVersion}.dmg")")"
|
||||
|
||||
echo "Updating signal-desktop for x86_64-linux"
|
||||
update-source-version signal-desktop-bin "$latestVersion" \
|
||||
|
@ -13,5 +13,5 @@ if [[ "$latestVersion" == "$currentVersion" ]]; then
|
||||
fi
|
||||
|
||||
nix-update sparkle --version $latestVersion --system x86_64-linux
|
||||
hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; sparkle.src.url" --system aarch64-linux | tr -d '"')))
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; sparkle.src.url" --system aarch64-linux | tr -d '"')))
|
||||
update-source-version sparkle $latestVersion $hash --system=aarch64-linux --ignore-same-version
|
||||
|
@ -25,13 +25,13 @@
|
||||
|
||||
let
|
||||
pname = "sparrow";
|
||||
version = "2.2.1";
|
||||
version = "2.2.3";
|
||||
|
||||
openjdk = jdk23.override { enableJavaFX = true; };
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/sparrowwallet/${pname}/releases/download/${version}/sparrowwallet-${version}-x86_64.tar.gz";
|
||||
hash = "sha256-m6FHcz62MbEQFfLeDyW0ziqoB4YVYOOL/IB5AgunXrQ=";
|
||||
hash = "sha256-MsERgfJGpxRkQm4Ww30Tc95kThjlgI+nO4bq2zNGdeU=";
|
||||
|
||||
# nativeBuildInputs, downloadToTemp, and postFetch are used to verify the signed upstream package.
|
||||
# The signature is not a self-contained file. Instead the SHA256 of the package is added to a manifest file.
|
||||
@ -60,12 +60,12 @@ let
|
||||
|
||||
manifest = fetchurl {
|
||||
url = "https://github.com/sparrowwallet/${pname}/releases/download/${version}/${pname}-${version}-manifest.txt";
|
||||
hash = "sha256-rbLTZAkqesmS1pg5wbnbTbnTuFnpWuDID0aCAwwM65w=";
|
||||
hash = "sha256-qPIllqFqe84BSIcYYYa+rKJvSpN/QnomHnsOoTxlyl4=";
|
||||
};
|
||||
|
||||
manifestSignature = fetchurl {
|
||||
url = "https://github.com/sparrowwallet/${pname}/releases/download/${version}/${pname}-${version}-manifest.txt.asc";
|
||||
hash = "sha256-Ct2PVjH5WEa+XqJtUNHlmMhlEN/r/Z+Y73vsHfMo5Qg=";
|
||||
hash = "sha256-PpruG9l7MhI30b6dd96KAkkQvyMNuh36GtmEdYaRgac=";
|
||||
};
|
||||
|
||||
publicKey = ./publickey.asc;
|
||||
|
@ -8,7 +8,7 @@
|
||||
nix-update-script,
|
||||
}:
|
||||
let
|
||||
version = "0.31.2";
|
||||
version = "0.31.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "splitcode";
|
||||
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
||||
owner = "pachterlab";
|
||||
repo = "splitcode";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-fIx8EXdhkIkWmb86HKlUPSgsKvbGcrKsuNMWo8kU+Aw=";
|
||||
hash = "sha256-EEYjBo52jPCSnv5WSGsXhfZEjsBCHdGerVPOZfShXBU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -61,7 +61,7 @@ writeScript "update-standardnotes" ''
|
||||
upstreamPlatform="$2"
|
||||
url=$(getDownloadUrl "$upstreamPlatform")
|
||||
hash=$(nix-prefetch-url "$url" --type sha512)
|
||||
sriHash=$(nix hash to-sri --type sha512 $hash)
|
||||
sriHash=$(nix --extra-experimental-features nix-command hash to-sri --type sha512 $hash)
|
||||
setJsonKey .deb[\""$nixPlatform"\"].url "$url"
|
||||
setJsonKey .deb[\""$nixPlatform"\"].hash "$sriHash"
|
||||
}
|
||||
|
@ -2,12 +2,12 @@ new_src="$(nix-build --attr "pkgs.$PNAME.src" --no-out-link)"
|
||||
new_nnue_big_file="$(grep --perl-regexp --only-matching 'EvalFileDefaultNameBig "\Knn-(\w+).nnue' "$new_src/src/evaluate.h")"
|
||||
new_nnue_small_file="$(grep --perl-regexp --only-matching 'EvalFileDefaultNameSmall "\Knn-(\w+).nnue' "$new_src/src/evaluate.h")"
|
||||
new_nnue_big_hash="$(
|
||||
nix hash convert --hash-algo sha256 "$(
|
||||
nix --extra-experimental-features nix-command hash convert --hash-algo sha256 "$(
|
||||
nix-prefetch-url --type sha256 "https://tests.stockfishchess.org/api/nn/$new_nnue_big_file"
|
||||
)"
|
||||
)"
|
||||
new_nnue_small_hash="$(
|
||||
nix hash convert --hash-algo sha256 "$(
|
||||
nix --extra-experimental-features nix-command hash convert --hash-algo sha256 "$(
|
||||
nix-prefetch-url --type sha256 "https://tests.stockfishchess.org/api/nn/$new_nnue_small_file"
|
||||
)"
|
||||
)"
|
||||
|
@ -17,7 +17,7 @@ for TYPE in "${DICT_TYPES[@]}"; do
|
||||
URL="https://github.com/$ORG/$REPO/releases/download/v$VERSION/sudachi-dictionary-$VERSION-$TYPE.zip"
|
||||
|
||||
PLAIN_HASH=$(nix-prefetch-url --type sha256 "$URL" --unpack)
|
||||
HASH=$(nix hash convert --hash-algo sha256 --to sri "$PLAIN_HASH")
|
||||
HASH=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri "$PLAIN_HASH")
|
||||
|
||||
sed -i -E "/(${TYPE} = fetchzip \{|^ *url = .*${TYPE}\.zip\";\$)/,/^ *hash = / s|hash = \"[^\"]*\"|hash = \"$HASH\"|" package.nix
|
||||
done
|
||||
|
@ -19,7 +19,7 @@ function updatePlatform() {
|
||||
echo "Updating tailwindcss_3 for $NIXPLAT"
|
||||
|
||||
URL="https://github.com/tailwindlabs/tailwindcss/releases/download/v${LATEST_VERSION}/tailwindcss-${TAILWINDPLAT}"
|
||||
HASH=$(nix hash to-sri --type sha256 "$(nix-prefetch-url --type sha256 "$URL")")
|
||||
HASH=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 "$(nix-prefetch-url --type sha256 "$URL")")
|
||||
|
||||
sed -i "s,$NIXPLAT = \"sha256.*\",$NIXPLAT = \"${HASH}\"," "$ROOT/package.nix"
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ yarn_hash=$(prefetch-yarn-deps yarn.lock)
|
||||
popd
|
||||
|
||||
# Use friendlier hashes
|
||||
yarn_hash=$(nix hash to-sri --type sha256 "$yarn_hash")
|
||||
yarn_hash=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 "$yarn_hash")
|
||||
|
||||
common="./pkgs/applications/misc/tandoor-recipes/common.nix"
|
||||
sed -i -E -e "s#version = \".*\"#version = \"$version\"#" $common
|
||||
|
@ -21,12 +21,12 @@
|
||||
|
||||
withRdpClient ? true,
|
||||
|
||||
version ? "17.5.1",
|
||||
hash ? "sha256-+9Oit7GAUTNv5Z8ZDOuBBRnVvtdA9N0X97UJbLILX50=",
|
||||
vendorHash ? "sha256-yeouUrLMfkKSYnS9va59cYWnGCvQatQQrNa1DuHQMug=",
|
||||
version ? "17.5.3",
|
||||
hash ? "sha256-VyuzSk388Dumm65+Gadu/SddVN7uUS3du5RGPm4xI6g=",
|
||||
vendorHash ? "sha256-IHXwCp1MdcEKJhIs9DNf77Vd93Ai2as7ROlh6AJT9+Q=",
|
||||
extPatches ? [ ],
|
||||
cargoHash ? "sha256-qz8gkooQTuBlPWC4lHtvBQpKkd+nEZ0Hl7AVg9JkPqs=",
|
||||
pnpmHash ? "sha256-TZb1nABTbR+SPgykc/KMRkHW7oLawem6KWmdOFAbLbk=",
|
||||
pnpmHash ? "sha256-YwftGEQTEI8NvFTFLMJHhYkvaIIP9+bskCQCp5xuEtY=",
|
||||
}:
|
||||
let
|
||||
# This repo has a private submodule "e" which fetchgit cannot handle without failing.
|
||||
|
@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
|
||||
if [[ "x$UPDATE_NIX_OLD_VERSION" != "x$version" ]]; then
|
||||
|
||||
revision=$(jq -r .revision <<<"$data")
|
||||
hash=$(nix hash to-sri "sha512:$(jq -r .download_sha512 <<<"$data")")
|
||||
hash=$(nix --extra-experimental-features nix-command hash to-sri "sha512:$(jq -r .download_sha512 <<<"$data")")
|
||||
|
||||
update-source-version "$UPDATE_NIX_ATTR_PATH" "$version" "$hash"
|
||||
update-source-version --ignore-same-hash --version-key=revision "$UPDATE_NIX_ATTR_PATH" "$revision" "$hash"
|
||||
|
@ -9,11 +9,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "texturepacker";
|
||||
version = "7.7.1";
|
||||
version = "7.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.codeandweb.com/download/texturepacker/${finalAttrs.version}/TexturePacker-${finalAttrs.version}.deb";
|
||||
hash = "sha256-3zBPPH3LJLJEEMWV8eWP9yu5oq+3toexIcnLOi02yD8=";
|
||||
hash = "sha256-r1oK5VgUZrdPDOM/8LDSgq5KVmahVVJQ9QXGPK6RkcY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -84,7 +84,7 @@ async function main() {
|
||||
process.exit(1);
|
||||
}
|
||||
const hash = child_process
|
||||
.execSync(`nix hash convert --hash-algo sha256 --to sri ${prefetchHash}`)
|
||||
.execSync(`nix --extra-experimental-features nix-command hash convert --hash-algo sha256 --to sri ${prefetchHash}`)
|
||||
.toString()
|
||||
.trim();
|
||||
/** @type {Info} */
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user