1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #105391 from reedrw/r2mod

This commit is contained in:
Sandro 2020-12-21 00:01:41 +01:00 committed by GitHub
commit e98df3d14a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 0 deletions

View file

@ -7385,6 +7385,12 @@
githubId = 816465;
name = "Redvers Davies";
};
reedrw = {
email = "reedrw5601@gmail.com";
github = "reedrw";
githubId = 21069876;
name = "Reed Williams";
};
refnil = {
email = "broemartino@gmail.com";
github = "refnil";

View 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;
};
}

View file

@ -26053,6 +26053,8 @@ in
quantumminigolf = callPackage ../games/quantumminigolf {};
r2mod_cli = callPackage ../games/r2mod_cli { };
racer = callPackage ../games/racer { };
redeclipse = callPackage ../games/redeclipse { };