mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #31961 from adisbladis/hedgewars-0_9_23
hedgewars: 0.9.22 -> 0.9.23
This commit is contained in:
commit
6b21d3acd7
1 changed files with 12 additions and 12 deletions
|
@ -1,25 +1,25 @@
|
|||
{ SDL_image, SDL_ttf, SDL_net, fpc, qt4, ghcWithPackages, ffmpeg, freeglut
|
||||
, stdenv, makeWrapper, fetchurl, cmake, pkgconfig, lua5_1, SDL, SDL_mixer
|
||||
{ SDL2_image, SDL2_ttf, SDL2_net, fpc, qt4, ghcWithPackages, ffmpeg, freeglut
|
||||
, stdenv, makeWrapper, fetchurl, cmake, pkgconfig, lua5_1, SDL2, SDL2_mixer
|
||||
, zlib, libpng, mesa, physfs
|
||||
}:
|
||||
|
||||
let
|
||||
ghc = ghcWithPackages (pkgs: with pkgs; [
|
||||
network vector utf8-string bytestring-show random hslogger
|
||||
dataenc SHA entropy pkgs.zlib
|
||||
SHA entropy pkgs.zlib sandi regex-tdfa
|
||||
]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.22";
|
||||
version = "0.9.23";
|
||||
name = "hedgewars-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://download.gna.org/hedgewars/hedgewars-src-${version}.tar.bz2";
|
||||
sha256 = "14i1wvqbqib9h9092z10g4g0y14r5sp2fdaksvnw687l3ybwi6dn";
|
||||
url = "http://www.hedgewars.org/download/releases/hedgewars-src-${version}.tar.bz2";
|
||||
sha256 = "12df5ar3zk186ah51c3myr4hlzyybcshmf1w1wf6vr9b0h44jbns";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
SDL_ttf SDL_net cmake lua5_1 SDL SDL_mixer SDL_image fpc
|
||||
SDL2_ttf SDL2_net cmake lua5_1 SDL2 SDL2_mixer SDL2_image fpc
|
||||
qt4 ghc ffmpeg freeglut makeWrapper physfs
|
||||
];
|
||||
|
||||
|
@ -28,11 +28,11 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
preBuild = ''
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath ${SDL_image}/lib
|
||||
-rpath ${SDL_mixer}/lib
|
||||
-rpath ${SDL_net}/lib
|
||||
-rpath ${SDL_ttf}/lib
|
||||
-rpath ${SDL.out}/lib
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath ${SDL2_image}/lib
|
||||
-rpath ${SDL2_mixer}/lib
|
||||
-rpath ${SDL2_net}/lib
|
||||
-rpath ${SDL2_ttf}/lib
|
||||
-rpath ${SDL2.out}/lib
|
||||
-rpath ${libpng.out}/lib
|
||||
-rpath ${lua5_1}/lib
|
||||
-rpath ${mesa}/lib
|
||||
|
|
Loading…
Reference in a new issue