python311Packages.babeltrace2: init at 2.0.6

A new attribute overriding babeltrace2 is created, rather than enabling
Python support in babeltrace2 itself, in order to reduce the closure
size and leave babeltrace2 Python-version-agnostic.

Co-authored-by: hacker1024 <hacker1024@users.sourceforge.net>
This commit is contained in:
Michal Sojka
2024-06-18 07:50:45 +03:00
committed by Doron Behar
co-authored by hacker1024
parent e4e8867d5b
commit 68bc018ac2
+6
View File
@@ -1335,6 +1335,12 @@ self: super: with self; {
enablePython = true;
});
babeltrace2 = toPythonModule (pkgs.babeltrace2.override {
inherit (self) python;
pythonPackages = self;
enablePython = true;
});
bambi = callPackage ../development/python-modules/bambi { };
pad4pi = callPackage ../development/python-modules/pad4pi { };