mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
python3Packages.bcc: init at 0.31.0
This commit is contained in:
parent
e18de43ac5
commit
fb27fe2102
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue