9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
17 sha256 = "sha256-VtJtAyojFOkMLBfpQ6N+8fDDkcJtVCflWjwsdq8OD0w=";
20 buildInputs = [ bashInteractive ];
22 nativeBuildInputs = [ makeWrapper ];
24 makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
27 wrapProgram $out/bin/r2mod --prefix PATH : "${lib.makeBinPath [ jq p7zip ]}";
31 description = "A Risk of Rain 2 Mod Manager in Bash";
32 homepage = "https://github.com/foldex/r2mod_cli";
33 license = licenses.gpl3Only;
34 maintainers = [ maintainers.reedrw ];
35 mainProgram = "r2mod";
36 platforms = platforms.unix;