diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index f2d3c7206c5d..360975ca2252 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8285,6 +8285,12 @@ githubId = 92429150; name = "Paul Meinhold"; }; + feyorsh = { + email = "george@feyor.sh"; + github = "Feyorsh"; + githubId = 44840644; + name = "George Huebner"; + }; ffinkdevs = { email = "fink@h0st.space"; github = "ffinkdevs"; diff --git a/pkgs/by-name/ro/ropr/package.nix b/pkgs/by-name/ro/ropr/package.nix new file mode 100644 index 000000000000..5fc76d4336ee --- /dev/null +++ b/pkgs/by-name/ro/ropr/package.nix @@ -0,0 +1,41 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + versionCheckHook, + nix-update-script, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "ropr"; + version = "0.2.26-unstable-2025-07-20"; + + src = fetchFromGitHub { + owner = "Ben-Lichtman"; + repo = "ropr"; + rev = "ec3eb2d91d9b4a940a8013a079ead47d7eab6dac"; + hash = "sha256-iN6CSivyBe6Ibbl+oQ2wThbSyHTKne14XsilkMntnfE="; + }; + + cargoHash = "sha256-4YEriANTAt1dx9bXhlHFN+kNLde+8BLocuhXdFG24xo="; + + nativeInstallCheckInputs = [ + versionCheckHook + ]; + doInstallCheck = true; + preVersionCheck = '' + version=${builtins.head (lib.splitString "-" finalAttrs.version)} + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Multithreaded ROP gadget finder for x86(_64)"; + homepage = "https://github.com/Ben-Lichtman/ropr"; + license = with lib.licenses; [ + mit + asl20 + ]; + mainProgram = "ropr"; + maintainers = with lib.maintainers; [ feyorsh ]; + }; +})