git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #19092 from romildo/upd.supertux

supertux: 0.4.0 -> 0.5.0

commit7466214fa329a83c4875e8cb723022757c87dd91 authorJörg Thalheim <joerg@higgsboson.tk> dateFri 30 Sep 2016, 15:56 (10 years ago) parent4b55584055c435
3 files changed+33−30
pkgs/games/super-tux/default.nix−29 pkgs/games/supertux/default.nix+32 pkgs/top-level/all-packages.nix+1−1
pkgs/games/super-tux/default.nixdeleted−29
@@ -1,29 +0,0 @@
1−{ stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer
2−, curl, gettext, libogg, libvorbis, mesa, openal, physfs, boost, glew
3−, libiconv }:
4−
5−stdenv.mkDerivation rec {
6− name = "supertux-${version}";
7− version = "0.4.0";
8−
9− src = fetchurl {
10− url = https://github.com/SuperTux/supertux/releases/download/v0.4.0/supertux-0.4.0.tar.bz2;
11− sha256 = "10ppmy6w77lxj8bdzjahc9bidgl4qgzr9rimn15rnqay84ydx3fi";
12− };
13−
14− buildInputs = [ pkgconfig cmake SDL2 SDL2_image SDL2_mixer curl gettext
15− libogg libvorbis mesa openal physfs boost glew libiconv ];
16−
17− postInstall = ''
18− mkdir $out/bin
19− ln -s $out/games/supertux2 $out/bin
20− '';
21−
22− meta = with stdenv.lib; {
23− description = "Classic 2D jump'n run sidescroller game";
24− homepage = http://supertux.github.io/;
25− license = licenses.gpl2;
26− maintainers = with maintainers; [ pSub ];
27− platforms = with platforms; linux;
28− };
29−}
pkgs/games/supertux/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image , curl
2+, libogg, libvorbis, mesa, openal, boost, glew
3+}:
4+
5+stdenv.mkDerivation rec {
6+ name = "supertux-${version}";
7+ version = "0.5.0";
8+
9+ src = fetchurl {
10+ url = "https://github.com/SuperTux/supertux/releases/download/v${version}/SuperTux-v${version}-Source.tar.gz";
11+ sha256 = "0fx7c7m6mfanqy7kln7yf6abb5l3r68picf32js2yls11jj0vbng";
12+ };
13+
14+ nativeBuildInputs = [ pkgconfig cmake ];
15+
16+ buildInputs = [ SDL2 SDL2_image curl libogg libvorbis mesa openal boost glew ];
17+
18+ cmakeFlags = [ "-DENABLE_BOOST_STATIC_LIBS=OFF" ];
19+
20+ postInstall = ''
21+ mkdir $out/bin
22+ ln -s $out/games/supertux2 $out/bin
23+ '';
24+
25+ meta = with stdenv.lib; {
26+ description = "Classic 2D jump'n run sidescroller game";
27+ homepage = http://supertux.github.io/;
28+ license = licenses.gpl2;
29+ maintainers = with maintainers; [ pSub ];
30+ platforms = with platforms; linux;
31+ };
32+}
pkgs/top-level/all-packages.nix+1−1
@@ -15583,7 +15583,7 @@ in
1558315583 };
1558415584 };
1558515585
15586− superTux = callPackage ../games/super-tux { };
15586+ superTux = callPackage ../games/supertux { };
1558715587
1558815588 superTuxKart = callPackage ../games/super-tux-kart { };
1558915589