git.iko.soy/typeable/nixpkgs
on master help sign in
supertux: 0.4.0 -> 0.5.0
commitdcde39d57a94f99a89faca33bfcb4af4cc4a4735 authorJosé Romildo Malaquias <malaquias@gmail.com> dateThu 29 Sep 2016, 21:17 (10 years ago) parent26674a6
1 file changed+11−8
pkgs/games/super-tux/default.nix+11−8
pkgs/games/super-tux/default.nix+11−8
@@ -1,18 +1,21 @@
1−{ stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer
2−, curl, gettext, libogg, libvorbis, mesa, openal, physfs, boost, glew
3−, libiconv }:
1+{ stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image , curl
2+, libogg, libvorbis, mesa, openal, boost, glew
3+}:
44
55stdenv.mkDerivation rec {
66 name = "supertux-${version}";
7− version = "0.4.0";
7+ version = "0.5.0";
88
99 src = fetchurl {
10− url = https://github.com/SuperTux/supertux/releases/download/v0.4.0/supertux-0.4.0.tar.bz2;
11− sha256 = "10ppmy6w77lxj8bdzjahc9bidgl4qgzr9rimn15rnqay84ydx3fi";
10+ url = "https://github.com/SuperTux/supertux/releases/download/v${version}/SuperTux-v${version}-Source.tar.gz";
11+ sha256 = "0fx7c7m6mfanqy7kln7yf6abb5l3r68picf32js2yls11jj0vbng";
1212 };
1313
14− buildInputs = [ pkgconfig cmake SDL2 SDL2_image SDL2_mixer curl gettext
15− libogg libvorbis mesa openal physfs boost glew libiconv ];
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" ];
1619
1720 postInstall = ''
1821 mkdir $out/bin