ronin-rb / ronin

Ronin is a Free and Open Source Ruby Toolkit for Security Research and Development. Ronin also allows for the rapid development and distribution of code, exploits, payloads, etc, via 3rd-party git repositories.
https://ronin-rb.dev
GNU General Public License v3.0
694 stars 50 forks source link

Add a `.nix` expression for NixOS #152

Closed postmodern closed 1 year ago

postmodern commented 1 year ago

Add .nix expression (build file) to allow building ronin (and all of it's dependencies) as a NixOS package. It should also be possible to use the .nix package file to install all other external dependencies (ex: ruby, bundler, libsqlite3) in order to setup a development environment.

Resources

Ch1keen commented 1 year ago

I opened a PR: https://github.com/NixOS/nixpkgs/pull/224580

And I misunderstood. There is no need to be .nix expression in this repository.

When the things are done, I'd like to update the documents about how to install ronin using Nix package manager.

postmodern commented 1 year ago

@Ch1keen excellent work! Does this repo still need a shell.nix file for setting up a local development environment for this repository?

Ch1keen commented 1 year ago

@postmodern No, because ronin become a part of the nixpkgs, this repository don't need to include .nix files.

but if you want to make a pure (or battery included?) development environment, you can write shell.nix, default.nix and so on. some people loves that, but it is totally up to you.

postmodern commented 1 year ago

@Ch1keen cool, closing this. Next we should add NixOS installation instructions to ronin-rb.github.io and I can then write a blog post about ronin being available on NixOS thanks to you.

Ch1keen commented 1 year ago

That would be great honor to me. I'll write some drafts and make a PR soon.