12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
17 owner = "ClementTsang";
20 hash = "sha256-hm0Xfd/iW+431HflvZErjzeZtSdXVb/ReoNIeETJ5Ik=";
23 cargoHash = "sha256-FQbJx6ijX8kE4qxT7OQ7FwxLKJB5/moTKhBK0bfvBas=";
25 nativeBuildInputs = [ installShellFiles ];
27 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
28 darwin.apple_sdk_11_0.frameworks.Foundation
34 installManPage target/tmp/bottom/manpage/btm.1
35 installShellCompletion \
36 target/tmp/bottom/completion/btm.{bash,fish} \
37 --zsh target/tmp/bottom/completion/_btm
39 install -Dm444 desktop/bottom.desktop -t $out/share/applications
44 passthru.tests.version = testers.testVersion {
49 description = "Cross-platform graphical process/system monitor with a customizable interface";
50 homepage = "https://github.com/ClementTsang/bottom";
51 changelog = "https://github.com/ClementTsang/bottom/blob/${version}/CHANGELOG.md";
52 license = licenses.mit;
53 maintainers = with maintainers; [