1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00

python3Packages.bcc: init at 0.31.0

This commit is contained in:
Ryan Yin 2024-09-04 17:18:17 +08:00
parent e18de43ac5
commit fb27fe2102
2 changed files with 7 additions and 5 deletions

View file

@ -13,12 +13,12 @@
, makeWrapper
, netperf
, nixosTests
, python3
, python3Packages
, stdenv
, zip
}:
python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "bcc";
version = "0.31.0";
@ -44,14 +44,14 @@ python3.pkgs.buildPythonApplication rec {
./fix-deadlock-detector-import.patch
];
propagatedBuildInputs = [ python3.pkgs.netaddr ];
propagatedBuildInputs = [ python3Packages.netaddr ];
nativeBuildInputs = [
bison
cmake
flex
llvmPackages.llvm.dev
makeWrapper
python3.pkgs.setuptools
python3Packages.setuptools
zip
];
@ -82,7 +82,7 @@ python3.pkgs.buildPythonApplication rec {
preInstall = ''
# required for setuptool during install
export PYTHONPATH=$out/${python3.sitePackages}:$PYTHONPATH
export PYTHONPATH=$out/${python3Packages.python.sitePackages}:$PYTHONPATH
'';
postInstall = ''
mkdir -p $out/bin $out/share

View file

@ -1485,6 +1485,8 @@ self: super: with self; {
bbox = callPackage ../development/python-modules/bbox { };
bcc = toPythonModule (pkgs.bcc.override { python3Packages = self; });
bc-detect-secrets = callPackage ../development/python-modules/bc-detect-secrets { };
bc-jsonpath-ng = callPackage ../development/python-modules/bc-jsonpath-ng { };