From b663b01807d9137e6c83a47f737fc8aa33be2a80 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 16 Aug 2020 22:14:10 +0200 Subject: [PATCH] ma pkgs.nx_game_info: init at 0.7.1 --- makefu/5pkgs/nx_game_info/default.nix | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 makefu/5pkgs/nx_game_info/default.nix diff --git a/makefu/5pkgs/nx_game_info/default.nix b/makefu/5pkgs/nx_game_info/default.nix new file mode 100644 index 000000000..89880d59c --- /dev/null +++ b/makefu/5pkgs/nx_game_info/default.nix @@ -0,0 +1,32 @@ +{ lib, stdenv, fetchurl , mono , unzip +}: +stdenv.mkDerivation rec { + pname = "NX_Game_Info"; + name = "${pname}-${version}"; + version = "0.7.1"; + + src = fetchurl { + url = "https://github.com/garoxas/NX_Game_Info/releases/download/v${version}/NX.Game.Info_${version}_cli.zip"; + sha256 = "179hkgraydm5hg5fcs1xwh07cx7rbcfwklfak83f0sl1pbya542h"; + }; + + sourceRoot = "."; + buildInputs = [ unzip ]; + buildPhase = ":"; + installPhase = '' + mkdir -p $out/{bin,lib} + cp * $out/lib/ + cat > $out/bin/nxgameinfo_cli <