mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
r2mod_cli: init at 1.0.5
This commit is contained in:
parent
a98025bd21
commit
ba5e56f3e6
34
pkgs/games/r2mod_cli/default.nix
Normal file
34
pkgs/games/r2mod_cli/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ fetchFromGitHub
|
||||
, jq
|
||||
, makeWrapper
|
||||
, p7zip
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "r2mod_cli";
|
||||
version = "1.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Foldex";
|
||||
repo = "r2mod_cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "1g64f8ms7yz4rzm6xb93agc08kh9sbwkhvq35dpfhvi6v59j3n5m";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/r2mod --prefix PATH : "${stdenv.lib.makeBinPath [ jq p7zip ]}";
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Risk of Rain 2 Mod Manager in Bash";
|
||||
homepage = "https://github.com/foldex/r2mod_cli";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = [ maintainers.reedrw ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -25777,6 +25777,8 @@ in
|
||||
|
||||
quantumminigolf = callPackage ../games/quantumminigolf {};
|
||||
|
||||
r2mod_cli = callPackage ../games/r2mod_cli { };
|
||||
|
||||
racer = callPackage ../games/racer { };
|
||||
|
||||
redeclipse = callPackage ../games/redeclipse { };
|
||||
|
Loading…
Reference in New Issue
Block a user