Merge pull request #139867 from Mic92/bcc

authored by

Artturi and committed by
GitHub
73951697 cf6e529b

+4 -5
+4 -5
pkgs/os-specific/linux/bcc/default.nix
··· 1 { lib, stdenv, fetchFromGitHub 2 , makeWrapper, cmake, llvmPackages, kernel 3 , flex, bison, elfutils, python, luajit, netperf, iperf, libelf 4 - , systemtap, bash, libbpf 5 }: 6 7 python.pkgs.buildPythonApplication rec { 8 pname = "bcc"; 9 - version = "0.20.0"; 10 11 disabled = !stdenv.isLinux; 12 ··· 14 owner = "iovisor"; 15 repo = "bcc"; 16 rev = "v${version}"; 17 - sha256 = "1xnpz2zv445dp5h0160drv6xlvrnwfj23ngc4dp3clcd59jh1baq"; 18 }; 19 format = "other"; 20 ··· 22 llvm llvm.dev libclang kernel 23 elfutils luajit netperf iperf 24 systemtap.stapBuild flex bash 25 - libbpf 26 ]; 27 28 patches = [ ··· 41 "-DREVISION=${version}" 42 "-DENABLE_USDT=ON" 43 "-DENABLE_CPP_API=ON" 44 - "-DCMAKE_USE_LIBBPF_PACKAGE=ON" 45 ]; 46 47 postPatch = ''
··· 1 { lib, stdenv, fetchFromGitHub 2 , makeWrapper, cmake, llvmPackages, kernel 3 , flex, bison, elfutils, python, luajit, netperf, iperf, libelf 4 + , systemtap, bash 5 }: 6 7 python.pkgs.buildPythonApplication rec { 8 pname = "bcc"; 9 + version = "0.22.0"; 10 11 disabled = !stdenv.isLinux; 12 ··· 14 owner = "iovisor"; 15 repo = "bcc"; 16 rev = "v${version}"; 17 + sha256 = "sha256-7FQz02APzjCjxCaw+e3H2GWz+UKsH0Dzgk9LoDgwDpU="; 18 + fetchSubmodules = true; 19 }; 20 format = "other"; 21 ··· 23 llvm llvm.dev libclang kernel 24 elfutils luajit netperf iperf 25 systemtap.stapBuild flex bash 26 ]; 27 28 patches = [ ··· 41 "-DREVISION=${version}" 42 "-DENABLE_USDT=ON" 43 "-DENABLE_CPP_API=ON" 44 ]; 45 46 postPatch = ''