mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
6a513f169d
svn path=/nixpkgs/trunk/; revision=18996
36 lines
749 B
Nix
36 lines
749 B
Nix
a :
|
|
let
|
|
s = import ./src-for-default.nix;
|
|
buildInputs = with a; [
|
|
xproto libX11 gmp guile
|
|
mesa libjpeg libpng
|
|
expat gettext perl
|
|
SDL SDL_image SDL_mixer SDL_ttf
|
|
curl sqlite
|
|
libogg libvorbis
|
|
libXrender
|
|
];
|
|
in
|
|
rec {
|
|
src = a.fetchUrlFromSrcInfo s;
|
|
|
|
inherit (s) name;
|
|
inherit buildInputs;
|
|
configureFlags = [];
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
phaseNames = ["setVars" "doConfigure" "doMakeInstall"];
|
|
|
|
setVars = a.noDepEntry (''
|
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.SDL}/include/SDL"
|
|
'');
|
|
|
|
meta = {
|
|
description = "Quick tactics game";
|
|
maintainers = [
|
|
a.lib.maintainers.raskin
|
|
];
|
|
platforms = with a.lib.platforms;
|
|
linux;
|
|
};
|
|
}
|