tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
supertux: bump to version 0.4.0
Sander van der Burg
10 years ago
ebe4d609
3a8112f7
+5
-11
1 changed file
expand all
collapse all
unified
split
pkgs
games
super-tux
default.nix
+5
-11
pkgs/games/super-tux/default.nix
···
1
1
-
{ stdenv, fetchFromGitHub, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer
1
1
+
{ stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer
2
2
, curl, gettext, libogg, libvorbis, mesa, openal, physfs, boost, glew
3
3
, libiconv }:
4
4
5
5
stdenv.mkDerivation rec {
6
6
name = "supertux-${version}";
7
7
-
version = "0.3.5a";
7
7
+
version = "0.4.0";
8
8
9
9
-
src = fetchFromGitHub {
10
10
-
owner = "SuperTux";
11
11
-
repo = "supertux";
12
12
-
rev = "v${version}";
13
13
-
sha256 = "0f522wsv0gx7v1h70x8xznklaqr5bm2l9h7ls9vjywy0z4iy1ahp";
9
9
+
src = fetchurl {
10
10
+
url = https://github.com/SuperTux/supertux/releases/download/v0.4.0/supertux-0.4.0.tar.bz2;
11
11
+
sha256 = "10ppmy6w77lxj8bdzjahc9bidgl4qgzr9rimn15rnqay84ydx3fi";
14
12
};
15
13
16
14
buildInputs = [ pkgconfig cmake SDL2 SDL2_image SDL2_mixer curl gettext
17
15
libogg libvorbis mesa openal physfs boost glew libiconv ];
18
18
-
19
19
-
preConfigure = ''
20
20
-
patchShebangs configure
21
21
-
'';
22
16
23
17
postInstall = ''
24
18
mkdir $out/bin