Skip to content

Commit

Permalink
cago-hakari: 0.9.33 -> 0.9.35 (#372314)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Jan 10, 2025
2 parents f8306cf + 73e18b5 commit 41871e4
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions pkgs/by-name/ca/cargo-hakari/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:

rustPlatform.buildRustPackage rec {
pname = "cargo-hakari";
version = "0.9.33";
version = "0.9.35";

src = fetchFromGitHub {
owner = "guppy-rs";
repo = "guppy";
rev = "cargo-hakari-${version}";
sha256 = "sha256-oJZiGXsOl00Bim/olYYSqt/p3j6dTw25IURcwdXYrAo=";
tag = "cargo-hakari-${version}";
hash = "sha256-+IjtK4kSm2vThgIxDsBLpoh0j9cDhhEqI6Hr2BmC7hc=";
};

cargoHash = "sha256-V9QmaZYBXj26HJrP8gABwhhUPwBxnyLoO4O45lnPyew=";
cargoHash = "sha256-xMgNk82U32AtMeZJ8v2M0faHLAPkXrdIJHwOJcqE9m8=";

cargoBuildFlags = [
"-p"
Expand All @@ -26,6 +28,14 @@ rustPlatform.buildRustPackage rec {
"cargo-hakari"
];

nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];

passthru = {
updateScript = nix-update-script { };
};

meta = {
description = "Manage workspace-hack packages to speed up builds in large workspaces";
mainProgram = "cargo-hakari";
Expand Down

0 comments on commit 41871e4

Please sign in to comment.