depot/third_party/nixpkgs/pkgs/by-name/ni/nix-btm/package.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

24 lines
685 B
Nix

{ lib, stdenv, rustPlatform, fetchCrate, darwin }:
rustPlatform.buildRustPackage rec {
pname = "nix-btm";
version = "0.2.0";
src = fetchCrate {
inherit version;
pname = "nix-btm";
hash = "sha256-f8XFWlx+gwhF/OD8+tPcLGV/v0QnsDWOcqpY3Js+FAo=";
};
cargoHash = "sha256-qUZ3zJjQrteFQerBKFH/+Ys0uOzvI7DH9rCaVtseJMM=";
buildInputs = lib.optionals stdenv.isDarwin
(with darwin.apple_sdk.frameworks; [ CoreServices SystemConfiguration ]);
meta = with lib; {
description = "Rust tool to monitor Nix processes";
homepage = "https://github.com/DieracDelta/nix-btm";
license = licenses.mit;
maintainers = with maintainers; [ DieracDelta ];
};
}