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.
main
Ben Wolsieffer 2 years ago
parent ff691ed9ba
commit 1605472a15
  1. 2
      pkgs/tools/filesystems/btrfs-progs/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -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 = {

@ -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 { };

Loading…
Cancel
Save