{ lib, newScope, callPackage, ghidra }:

lib.makeScope newScope (self: {
  inherit (callPackage ./build-extension.nix { inherit ghidra; }) buildGhidraExtension buildGhidraScripts;

  ghidraninja-ghidra-scripts = self.callPackage ./extensions/ghidraninja-ghidra-scripts { };

  gnudisassembler = self.callPackage ./extensions/gnudisassembler { inherit ghidra; };

  machinelearning = self.callPackage ./extensions/machinelearning { inherit ghidra; };

  sleighdevtools = self.callPackage ./extensions/sleighdevtools { inherit ghidra; };

})
