fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 versionCheckHook,
6 nix-update-script,
7}:
8
9rustPlatform.buildRustPackage rec {
10 pname = "bunbun";
11 version = "1.5.0";
12
13 src = fetchFromGitHub {
14 owner = "devraza";
15 repo = "bunbun";
16 tag = "v${version}";
17 hash = "sha256-3f/G0Vx1uXeH3QMDVUAHWi4Pf/B88/4F+4XywVsp3/4=";
18 };
19
20 cargoHash = "sha256-2pgQB2myEnLvrU3ApNL/bwaVcGku+X/TjR6YBqXD7Xg=";
21
22 nativeInstallCheckInputs = [
23 versionCheckHook
24 ];
25 doInstallCheck = true;
26
27 passthru = {
28 updateScript = nix-update-script { };
29 };
30
31 meta = {
32 description = "Simple and adorable sysinfo utility written in Rust";
33 homepage = "https://github.com/devraza/bunbun";
34 changelog = "https://github.com/devraza/bunbun/releases/tag/v${version}";
35 license = lib.licenses.mit;
36 maintainers = with lib.maintainers; [ GaetanLepage ];
37 mainProgram = "bunbun";
38 };
39}