Skip to content

Commit a59c33f

Browse files
committed
manaplus: init at 1.9.3.23
1 parent e9158ec commit a59c33f

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

pkgs/games/manaplus/default.nix

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{ stdenv, lib, fetchurl, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer
2+
, SDL2_net , SDL2_gfx, zlib, physfs, curl, libxml2, libpng, pkg-config
3+
, libGL, autoreconfHook }:
4+
stdenv.mkDerivation rec {
5+
pname = "manaplus";
6+
version = "1.9.3.23";
7+
8+
src = fetchurl {
9+
url = "https://download.evolonline.org/manaplus/download/${version}/manaplus-${version}.tar.xz";
10+
sha256 = "1ky182p4svwdqm6cf7jbns85hidkhkhq4s17cs2p381f0klapfjz";
11+
};
12+
13+
nativeBuildInputs = [
14+
autoreconfHook pkg-config
15+
];
16+
17+
buildInputs = [
18+
SDL2 SDL2_image SDL2_ttf SDL2_mixer SDL2_net SDL2_gfx zlib
19+
physfs curl libxml2 libpng libGL
20+
];
21+
22+
configureFlags = [ "--with-sdl2" "--without-dyecmd" ];
23+
24+
enableParallelBuilding = true;
25+
26+
meta = {
27+
maintainers = [ lib.maintainers.lheckemann ];
28+
description = "A free OpenSource 2D MMORPG client";
29+
homepage = "https://manaplus.org/";
30+
license = lib.licenses.gpl2;
31+
};
32+
}

pkgs/top-level/all-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25770,6 +25770,8 @@ in
2577025770

2577125771
mari0 = callPackage ../games/mari0 { };
2577225772

25773+
manaplus = callPackage ../games/manaplus { };
25774+
2577325775
mars = callPackage ../games/mars { };
2577425776

2577525777
megaglest = callPackage ../games/megaglest {};

0 commit comments

Comments
 (0)