8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
15 rev = "refs/tags/v${version}";
16 hash = "sha256-jqokKvJYu/xHJHJVuNlTns3cYPLx1osbRUrCpVTCJZ0=";
19 cargoHash = "sha256-dWZ5aNaHyTkEmkn88Dx5nCnGyiBmpJ6p5iYC7xj/mBw=";
21 buildInputs = lib.optionals stdenv.isDarwin [
22 darwin.apple_sdk.frameworks.CoreFoundation
23 darwin.apple_sdk.frameworks.IOKit
24 darwin.apple_sdk.frameworks.SystemConfiguration
28 description = "Simple and adorable sysinfo utility written in Rust";
29 homepage = "https://github.com/devraza/bunbun";
30 changelog = "https://github.com/devraza/bunbun/releases/tag/v${version}";
31 license = licenses.mit;
32 maintainers = with maintainers; [ GaetanLepage ];
33 mainProgram = "bunbun";