11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
19 hash = "sha256-3f/G0Vx1uXeH3QMDVUAHWi4Pf/B88/4F+4XywVsp3/4=";
22 cargoHash = "sha256-UEUK8GBkyzUv2J6uTjRdyoIiHVKLDYYj1aOnl+rgzmk=";
24 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (
25 with darwin.apple_sdk.frameworks;
33 nativeInstallCheckInputs = [
36 versionCheckProgramArg = [ "--version" ];
37 doInstallCheck = true;
40 updateScript = nix-update-script { };
44 description = "Simple and adorable sysinfo utility written in Rust";
45 homepage = "https://github.com/devraza/bunbun";
46 changelog = "https://github.com/devraza/bunbun/releases/tag/v${version}";
47 license = lib.licenses.mit;
48 maintainers = with lib.maintainers; [ GaetanLepage ];
49 mainProgram = "bunbun";