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:
parent
ff691ed9ba
commit
1605472a15
2 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeFlags = lib.optionals stdenv.hostPlatform.isGnu [ "udevruledir=$(out)/lib/udev/rules.d" ];
|
makeFlags = lib.optionals stdenv.hostPlatform.isGnu [ "udevruledir=$(out)/lib/udev/rules.d" ];
|
||||||
|
|
||||||
|
installFlags = [ "install_python" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
|
|
|
@ -1407,6 +1407,8 @@ in {
|
||||||
|
|
||||||
btrfs = callPackage ../development/python-modules/btrfs { };
|
btrfs = callPackage ../development/python-modules/btrfs { };
|
||||||
|
|
||||||
|
btrfsutil = toPythonModule (pkgs.btrfs-progs.override { python3 = self.python; });
|
||||||
|
|
||||||
bugsnag = callPackage ../development/python-modules/bugsnag { };
|
bugsnag = callPackage ../development/python-modules/bugsnag { };
|
||||||
|
|
||||||
bugwarrior = callPackage ../development/python-modules/bugwarrior { };
|
bugwarrior = callPackage ../development/python-modules/bugwarrior { };
|
||||||
|
|
Loading…
Reference in a new issue