Skip to content

Commit

Permalink
chore(deps): bump quarto version
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 16, 2024
1 parent 35f2b9d commit c62f8c4
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions nix/quarto/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,25 @@
}:

let
platforms = {
"x86_64-linux" = "linux-amd64";
"aarch64-linux" = "linux-arm64";
"aarch64-darwin" = "macos";
"x86_64-darwin" = "macos";
platforms = rec {
x86_64-linux = "linux-amd64";
aarch64-linux = "linux-arm64";
aarch64-darwin = "macos";
x86_64-darwin = aarch64-darwin;
};
shas = {
"x86_64-linux" = "sha256-mVoFBQJJHGn5ZbwOtamshEQl9FzmRVEBye3bBXFUlUI=";
"aarch64-linux" = "sha256-TNik4+OdDqGwArw9wkrq4wNHt6tGgYo32V9KNPSsPWo=";
"aarch64-darwin" = "sha256-fjcmyVyPSHyHBICjpweuCnGtMAAlPNNzBMHEk+2emBA=";
"x86_64-darwin" = "sha256-fjcmyVyPSHyHBICjpweuCnGtMAAlPNNzBMHEk+2emBA=";
shas = rec {
x86_64-linux = "sha256-15fHlnE6V8FNgRX0mkXWJqFkeGlwlqBCHy0tmA5fnUo=";
aarch64-linux = "sha256-yzzaMnKyeEGGI3Col7iD6FAF3a6bXlfsE8EHmNRu4LY=";
aarch64-darwin = "sha256-W0IvOWdW7g7iaJcK6FF3X+1+EAWuqYUA1Zt/Es2aThY=";
# hashes are the same for both macos architectures, because the packages
# are identical
x86_64-darwin = aarch64-darwin;
};
inherit (stdenv.hostPlatform) system;
in
stdenv.mkDerivation rec {
pname = "quarto";
version = "1.6.32";
version = "1.6.39";
src = fetchurl {
url = "https://github.com/quarto-dev/quarto-cli/releases/download/v${version}/quarto-${version}-${platforms.${system}}.tar.gz";
sha256 = shas.${system};
Expand Down

0 comments on commit c62f8c4

Please sign in to comment.