3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/plib/default.nix
Ludovic Courtès bf54e7bc25 PLIB: a suite of portable game libraries.
svn path=/nixpkgs/trunk/; revision=13051
2008-10-12 14:27:51 +00:00

39 lines
1.2 KiB
Nix

{ fetchurl, stdenv, mesa, freeglut, SDL
, libXi, libSM, libXmu, libXext, libX11 }:
stdenv.mkDerivation rec {
name = "plib-1.8.5";
src = fetchurl {
# XXX: The author doesn't use the orthodox SF way to store tarballs.
url = "http://plib.sourceforge.net/dist/${name}.tar.gz";
sha256 = "0cha71mflpa10vh2l7ipyqk67dq2y0k5xbafwdks03fwdyzj4ns8";
};
propagatedBuildInputs = [
mesa freeglut SDL
# The following libs ought to be propagated build inputs of Mesa.
libXi libSM libXmu libXext libX11
];
meta = {
description = "PLIB: A Suite of Portable Game Libraries";
longDescription = ''
PLIB includes sound effects, music, a complete 3D engine, font
rendering, a simple Windowing library, a game scripting
language, a GUI, networking, 3D math library and a collection of
handy utility functions. All are 100% portable across nearly
all modern computing platforms. What's more, it's all available
on line - and completely free. Each library component is fairly
independent of the others - so if you want to use SDL, GTK,
GLUT, or FLTK instead of PLIB's 'PW' windowing library, you can.
'';
license = "LGPLv2+";
homepage = http://plib.sourceforge.net/;
};
}