9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
26 lines
721 B
Nix
26 lines
721 B
Nix
{ lib, bundlerEnv, bundlerUpdateScript, defaultGemConfig, yasm }:
|
|
|
|
bundlerEnv {
|
|
name = "ronin";
|
|
gemdir = ./.;
|
|
|
|
gemConfig = defaultGemConfig // {
|
|
ronin-code-asm = attrs: {
|
|
dontBuild = false;
|
|
postPatch = ''
|
|
substituteInPlace lib/ronin/code/asm/program.rb \
|
|
--replace "YASM::Command.run(" "YASM::Command.run(
|
|
command_path: '${yasm}/bin/yasm',"
|
|
'';
|
|
};
|
|
};
|
|
|
|
passthru.updateScript = bundlerUpdateScript "ronin";
|
|
|
|
meta = with lib; {
|
|
description = "A free and Open Source Ruby toolkit for security research and development";
|
|
homepage = "https://ronin-rb.dev";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ Ch1keen ];
|
|
};
|
|
}
|