Skip to content

Commit

Permalink
garage: move from sha256 to hash
Browse files Browse the repository at this point in the history
(cherry picked from commit a0b89aa)
  • Loading branch information
flokli authored and teutat3s committed Sep 23, 2024
1 parent b796bf9 commit b6b948c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkgs/tools/filesystems/garage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
, nixosTests
}:
let
generic = { version, sha256, cargoSha256, eol ? false, broken ? false }: rustPlatform.buildRustPackage {
generic = { version, hash, cargoHash, eol ? false, broken ? false }: rustPlatform.buildRustPackage {
pname = "garage";
inherit version;

Expand All @@ -21,7 +21,7 @@ let
owner = "Deuxfleurs";
repo = "garage";
rev = "v${version}";
inherit sha256;
inherit hash;
};

postPatch = ''
Expand All @@ -30,7 +30,7 @@ let
rm .cargo/config.toml || true
'';

inherit cargoSha256;
inherit cargoHash;

nativeBuildInputs = [ protobuf pkg-config ];

Expand Down Expand Up @@ -97,27 +97,27 @@ rec {

garage_0_8_7 = generic {
version = "0.8.7";
sha256 = "sha256-2QGbR6YvMQeMxN3n1MMJ5qfBcEJ5hjXARUOfEn+m4Jc=";
cargoSha256 = "sha256-Q0QyBNPEDrlhgIHD4q7Qb1Pu3xBvzlLOSW7LSWWdoIo=";
hash = "sha256-2QGbR6YvMQeMxN3n1MMJ5qfBcEJ5hjXARUOfEn+m4Jc=";
cargoHash = "sha256-Q0QyBNPEDrlhgIHD4q7Qb1Pu3xBvzlLOSW7LSWWdoIo=";
broken = stdenv.isDarwin;
};

garage_0_8 = garage_0_8_7;

garage_0_9_4 = generic {
version = "0.9.4";
sha256 = "sha256-2ZaxenwaVGYYUjUJaGgnGpZNQprQV9+Jns2sXM6cowk=";
cargoSha256 = "sha256-Cssls9csn6qribF+pAAagBydX9e9WTq4K/ehaLCWOOA=";
hash = "sha256-2ZaxenwaVGYYUjUJaGgnGpZNQprQV9+Jns2sXM6cowk=";
cargoHash = "sha256-Cssls9csn6qribF+pAAagBydX9e9WTq4K/ehaLCWOOA=";
broken = stdenv.isDarwin;
};

garage_1_0_1 = generic {
version = "1.0.1";
sha256 = "sha256-f6N2asycN04I6U5XQ5LEAqYu/v5jYZiFCxZ8YQ32XyM=";
hash = "sha256-f6N2asycN04I6U5XQ5LEAqYu/v5jYZiFCxZ8YQ32XyM=";
cargoHash = "sha256-jpc/vaygC5WNSkVA3P01mCRk9Nx/CUumE893tHWoe34=";
broken = stdenv.isDarwin;
};

garage_0_8 = garage_0_8_7;

garage_0_9 = garage_0_9_4;

garage_1_x = garage_1_0_1;
Expand Down

0 comments on commit b6b948c

Please sign in to comment.