git.iko.soy/typeable/nixpkgs
on master help sign in
tecnoballz: init at 0.93.1
commitff1b1874f8ff974a79f7f353c33d38738335d7ab authorFrancesco Gazzetta <fgaz@fgaz.me> dateFri 9 Jul 2021, 18:45 (5 years ago) parentbf49874
2 files changed+70
pkgs/games/tecnoballz/default.nix+68 pkgs/top-level/all-packages.nix+2
pkgs/games/tecnoballz/default.nixnew file+68
@@ -0,0 +1,68 @@
1+{ lib
2+, stdenv
3+, fetchurl
4+, autoconf
5+, automake
6+, SDL
7+, SDL_mixer
8+, SDL_image
9+, libmikmod
10+, tinyxml
11+}:
12+
13+stdenv.mkDerivation rec {
14+ pname = "tecnoballz";
15+ version = "0.93.1";
16+
17+ src = fetchurl {
18+ url = "https://linux.tlk.fr/games/TecnoballZ/download/tecnoballz-${version}.tgz";
19+ sha256 = "sha256-WRW76e+/eXE/KwuyOjzTPFQnKwNznbIrUrz14fnvgug=";
20+ };
21+
22+ nativeBuildInputs = [
23+ autoconf
24+ automake
25+ ];
26+
27+ buildInputs = [
28+ SDL
29+ SDL_mixer
30+ SDL_image
31+ libmikmod
32+ tinyxml
33+ ];
34+
35+ # Newer compilers introduced warnings
36+ postPatch = ''
37+ substituteInPlace configure.ac \
38+ --replace "-Werror" ""
39+ '';
40+
41+ preConfigure = ''
42+ ./bootstrap
43+ '';
44+
45+ installFlags = [
46+ # Default is $(out)/games
47+ "gamesdir=$(out)/bin"
48+ # We set the scoredir to $TMPDIR at install time.
49+ # Otherwise it will try to write in /var/games at install time
50+ "scoredir=$(TMPDIR)"
51+ ];
52+
53+ meta = with lib; {
54+ homepage = "https://linux.tlk.fr/games/TecnoballZ/";
55+ downloadPage = "https://linux.tlk.fr/games/TecnoballZ/download/";
56+ description = "A brick breaker game with a sophisticated system of weapons and bonuses";
57+ longDescription = ''
58+ A exciting Brick Breaker with 50 levels of game and 11 special levels,
59+ distributed on the 2 modes of game to give the player a sophisticated
60+ system of attack weapons with an enormous power of fire that can be build
61+ by gaining bonuses. Numerous decors, musics and sounds complete this great
62+ game. This game was ported from the Commodore Amiga.
63+ '';
64+ license = licenses.gpl3Plus;
65+ maintainers = with maintainers; [ fgaz ];
66+ platforms = platforms.all;
67+ };
68+}
pkgs/top-level/all-packages.nix+2
@@ -29234,6 +29234,8 @@ in
2923429234
2923529235 tbe = libsForQt5.callPackage ../games/the-butterfly-effect { };
2923629236
29237+ tecnoballz = callPackage ../games/tecnoballz { };
29238+
2923729239 teetertorture = callPackage ../games/teetertorture { };
2923829240
2923929241 teeworlds = callPackage ../games/teeworlds { };