git.iko.soy/typeable/nixpkgs
on master help sign in
powermanga: init at 0.93.1
commit0851d84fed3d63481f4f8554003bec5b30ba8673 authorFrancesco Gazzetta <fgaz@fgaz.me> dateFri 9 Jul 2021, 18:47 (5 years ago) parentff1b187
2 files changed+60
pkgs/games/powermanga/default.nix+58 pkgs/top-level/all-packages.nix+2
pkgs/games/powermanga/default.nixnew file+58
@@ -0,0 +1,58 @@
1+{ lib
2+, stdenv
3+, fetchurl
4+, autoconf
5+, automake
6+, SDL
7+, SDL_mixer
8+, libpng
9+}:
10+
11+stdenv.mkDerivation rec {
12+ pname = "powermanga";
13+ version = "0.93.1";
14+
15+ src = fetchurl {
16+ url = "https://linux.tlk.fr/games/Powermanga/download/powermanga-${version}.tgz";
17+ sha256 = "sha256-2nU/zoOQWm2z/Y6mXHDFfWYjYshsQp1saVRBcUT5Q+g=";
18+ };
19+
20+ nativeBuildInputs = [
21+ autoconf
22+ automake
23+ ];
24+
25+ buildInputs = [
26+ SDL
27+ SDL_mixer
28+ libpng
29+ ];
30+
31+ preConfigure = ''
32+ ./bootstrap
33+ '';
34+
35+ installFlags = [
36+ # Default is $(out)/games
37+ "gamesdir=$(out)/bin"
38+ # We set the scoredir to $TMPDIR.
39+ # Otherwise it will try to write in /var/games at install time
40+ "scoredir=$(TMPDIR)"
41+ ];
42+
43+ meta = with lib; {
44+ homepage = "https://linux.tlk.fr/games/Powermanga/";
45+ downloadPage = "https://linux.tlk.fr/games/Powermanga/download/";
46+ description = "An arcade 2D shoot-em-up game";
47+ longDescription = ''
48+ Powermanga is an arcade 2D shoot-em-up game with 41 levels and more than
49+ 200 sprites. It runs in 320x200 or 640x400 pixels, with Window mode or
50+ full screen and support for 8, 15, 16, 24, and 32 bpp. As you go through
51+ the levels, you will destroy enemy spaceships and bosses, collect gems to
52+ power up your ship and get special powers, helpers and weapons.
53+ '';
54+ license = licenses.gpl3Plus;
55+ maintainers = with maintainers; [ fgaz ];
56+ platforms = platforms.all;
57+ };
58+}
pkgs/top-level/all-packages.nix+2
@@ -29020,6 +29020,8 @@ in
2902029020
2902129021 pokerth-server = libsForQt5.callPackage ../games/pokerth { target = "server"; };
2902229022
29023+ powermanga = callPackage ../games/powermanga { };
29024+
2902329025 prboom = callPackage ../games/prboom { };
2902429026
2902529027 pysolfc = python3Packages.callPackage ../games/pysolfc { };