btrfs-progs: install Python bindings

btrfs-progs currently builds the Python bindings for libbtrfsutil but doesn't
actually install them. With this patch, the bindings are installed and exposed
as python3Packages.btrfsutil.
This commit is contained in:
Ben Wolsieffer 2022-05-17 19:44:28 -04:00
parent ff691ed9ba
commit 1605472a15
2 changed files with 4 additions and 0 deletions

View file

@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
makeFlags = lib.optionals stdenv.hostPlatform.isGnu [ "udevruledir=$(out)/lib/udev/rules.d" ];
installFlags = [ "install_python" ];
enableParallelBuilding = true;
passthru.tests = {

View file

@ -1407,6 +1407,8 @@ in {
btrfs = callPackage ../development/python-modules/btrfs { };
btrfsutil = toPythonModule (pkgs.btrfs-progs.override { python3 = self.python; });
bugsnag = callPackage ../development/python-modules/bugsnag { };
bugwarrior = callPackage ../development/python-modules/bugwarrior { };