bunbun: 1.4.0 -> 1.5.0 (#352312)

This commit is contained in:
Sandro
2024-10-31 15:11:23 +01:00
committed by GitHub
+11 -8
View File
@@ -4,24 +4,22 @@
fetchFromGitHub,
stdenv,
darwin,
versionCheckHook,
nix-update-script,
testers,
bunbun,
}:
rustPlatform.buildRustPackage rec {
pname = "bunbun";
version = "1.4.0";
version = "1.5.0";
src = fetchFromGitHub {
owner = "devraza";
repo = "bunbun";
# TODO: remove '-bump' at next release
rev = "refs/tags/v${version}-bump";
hash = "sha256-r4xBUfNY+Q3uAC919ZQbIDgiF981FVqZCOT8XNojZP4=";
rev = "refs/tags/v${version}";
hash = "sha256-3f/G0Vx1uXeH3QMDVUAHWi4Pf/B88/4F+4XywVsp3/4=";
};
cargoHash = "sha256-CcGfaSyCMv0Wm4QsYASBwEnpX8fKbLHRqyEcUmj2w2o=";
cargoHash = "sha256-UEUK8GBkyzUv2J6uTjRdyoIiHVKLDYYj1aOnl+rgzmk=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
@@ -32,9 +30,14 @@ rustPlatform.buildRustPackage rec {
]
);
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = bunbun; };
};
meta = {