git.iko.soy/typeable/nixpkgs
on master help sign in
manaplus: init at 1.9.3.23
commita59c33f33a8096de7c3bbe5951da797f0d144172 authorLinus Heckemann <git@sphalerite.org> dateSun 20 Dec 2020, 17:20 (6 years ago) parente9158ec
2 files changed+34
pkgs/games/manaplus/default.nix+32 pkgs/top-level/all-packages.nix+2
pkgs/games/manaplus/default.nixnew file+32
@@ -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+2
@@ -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 {};