cago-hakari: 0.9.33 -> 0.9.35

- <https://github.com/guppy-rs/guppy/releases/tag/cargo-hakari-0.9.34>
- <https://github.com/guppy-rs/guppy/releases/tag/cargo-hakari-0.9.35>

Also adds the `versionCheckHook` and `nix-update-script` passthru.
This commit is contained in:
Jon Gjengset
2025-01-10 14:57:55 +01:00
parent e6752bc1ad
commit 73e18b5606
+14 -4
View File
@@ -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"
@@ -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";