Merge pull request #206132 from mayflower/init-below
below: init at 0.6.3
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, clang
|
||||
, pkgconfig
|
||||
, elfutils
|
||||
, rustfmt
|
||||
, zlib
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "below";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebookincubator";
|
||||
repo = "below";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-d5a/M2XEw2E2iydopzedqZ/XfQU7KQyTC5NrPTeeNLg=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-EoRCmEe9SAySZCm+QhaR4ngik4Arnm4SZjgDM5fSRmk=";
|
||||
|
||||
# bpf code compilation
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
|
||||
nativeBuildInputs = [ clang pkgconfig rustfmt ];
|
||||
buildInputs = [ elfutils zlib ];
|
||||
|
||||
# needs /sys/fs/cgroup
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ globin ];
|
||||
description = "A time traveling resource monitor for modern Linux systems";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/facebookincubator/below";
|
||||
};
|
||||
}
|
||||
@@ -25002,6 +25002,8 @@ with pkgs;
|
||||
|
||||
b43FirmwareCutter = callPackage ../os-specific/linux/firmware/b43-firmware-cutter { };
|
||||
|
||||
below = callPackage ../os-specific/linux/below { };
|
||||
|
||||
bt-fw-converter = callPackage ../os-specific/linux/firmware/bt-fw-converter { };
|
||||
|
||||
brillo = callPackage ../os-specific/linux/brillo { };
|
||||
|
||||
Reference in New Issue
Block a user