lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 37 lines 792 B view raw
1{ fetchFromGitHub 2, bashInteractive 3, jq 4, makeWrapper 5, p7zip 6, lib, stdenv 7}: 8 9stdenv.mkDerivation rec { 10 pname = "r2mod_cli"; 11 version = "1.2.0"; 12 13 src = fetchFromGitHub { 14 owner = "Foldex"; 15 repo = "r2mod_cli"; 16 rev = "v${version}"; 17 sha256 = "sha256-VNqdVDBR6+eNOeUthPXLfz+0VoaNfSj4f04HLvjg6/0="; 18 }; 19 20 buildInputs = [ bashInteractive ]; 21 22 nativeBuildInputs = [ makeWrapper ]; 23 24 makeFlags = [ "PREFIX=$(out)" ]; 25 26 postInstall = '' 27 wrapProgram $out/bin/r2mod --prefix PATH : "${lib.makeBinPath [ jq p7zip ]}"; 28 ''; 29 30 meta = with lib; { 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 platforms = platforms.unix; 36 }; 37}