mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
pokemmo-installer: init at 1.4.8
This commit is contained in:
parent
159be5db48
commit
e2594868c9
73
pkgs/by-name/po/pokemmo-installer/package.nix
Normal file
73
pkgs/by-name/po/pokemmo-installer/package.nix
Normal file
@ -0,0 +1,73 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
makeWrapper,
|
||||
coreutils,
|
||||
findutils,
|
||||
gnugrep,
|
||||
jre,
|
||||
openssl,
|
||||
util-linux,
|
||||
wget,
|
||||
which,
|
||||
zenity,
|
||||
libGL,
|
||||
libpulseaudio,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pokemmo-installer";
|
||||
version = "1.4.8";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "coringao";
|
||||
repo = "pokemmo-installer";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-uSbnXBpkeGM9X6DU7AikT7hG/emu67PXuGdm6xfB8To=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
|
||||
# BINDIR defaults to $(PREFIX)/games
|
||||
"BINDIR=${placeholder "out"}/bin"
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram "$out/bin/pokemmo-installer" \
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
coreutils
|
||||
findutils
|
||||
gnugrep
|
||||
jre
|
||||
openssl
|
||||
util-linux
|
||||
wget
|
||||
which
|
||||
zenity
|
||||
]
|
||||
} \
|
||||
--prefix LD_LIBRARY_PATH : ${
|
||||
lib.makeLibraryPath [
|
||||
libGL
|
||||
libpulseaudio
|
||||
]
|
||||
}
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Installer and Launcher for the PokeMMO emulator";
|
||||
homepage = "https://pokemmo.eu";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ kira-bruneau ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "pokemmo-installer";
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user