methane: init at 2.0.1
This commit is contained in:
parent
11bb46fdc6
commit
d5a0b50f26
70
pkgs/games/methane/default.nix
Normal file
70
pkgs/games/methane/default.nix
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, SDL2
|
||||||
|
, SDL2_image
|
||||||
|
, SDL2_mixer
|
||||||
|
, fontconfig
|
||||||
|
, freealut
|
||||||
|
, freeglut
|
||||||
|
, gettext
|
||||||
|
, libGL
|
||||||
|
, libGLU
|
||||||
|
, openal
|
||||||
|
, quesoglc
|
||||||
|
, clanlib
|
||||||
|
, libXrender
|
||||||
|
, libmikmod
|
||||||
|
, alsaLib
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "methane";
|
||||||
|
version = "2.0.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
repo = "methane";
|
||||||
|
owner = "rombust";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-STS2+wfZ8E1jpr0PYQOBQsztxhJU0Dt3IhWBE3sjdWE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
gettext
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
SDL2
|
||||||
|
SDL2_image
|
||||||
|
SDL2_mixer
|
||||||
|
fontconfig
|
||||||
|
freealut
|
||||||
|
freeglut
|
||||||
|
libGL
|
||||||
|
libGLU
|
||||||
|
openal
|
||||||
|
quesoglc
|
||||||
|
clanlib
|
||||||
|
libXrender
|
||||||
|
libmikmod
|
||||||
|
alsaLib
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/bin/ $out/share/methane/ $out/share/docs/
|
||||||
|
cp methane $out/bin
|
||||||
|
cp -r resources/* $out/share/methane/.
|
||||||
|
cp -r docs/* $out/share/docs/.
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/rombust/methane";
|
||||||
|
description = "A clone of Taito's Bubble Bobble arcade game released for Amiga in 1993 by Apache Software";
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
maintainers = with maintainers; [ nixinator ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
@ -27995,6 +27995,8 @@ in
|
|||||||
|
|
||||||
megaglest = callPackage ../games/megaglest {};
|
megaglest = callPackage ../games/megaglest {};
|
||||||
|
|
||||||
|
methane = callPackage ../games/methane { };
|
||||||
|
|
||||||
mindustry = callPackage ../games/mindustry { };
|
mindustry = callPackage ../games/mindustry { };
|
||||||
mindustry-wayland = callPackage ../games/mindustry { glew = glew-egl; };
|
mindustry-wayland = callPackage ../games/mindustry { glew = glew-egl; };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user