mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
24 lines
597 B
Nix
24 lines
597 B
Nix
|
{ stdenv, fetchurl, cmake, pkgconfig, ois, ogre, libX11, boost }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "ogre-paged-1.1.3";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "http://ogre-paged.googlecode.com/files/${name}.tar.gz";
|
||
|
sha256 = "1qqlkg17plk87dm3fsm34x8lkd5rxkhiz77ppcgc71a7z050vhjq";
|
||
|
};
|
||
|
|
||
|
buildInputs = [ ois ogre libX11 boost ];
|
||
|
buildNativeInputs = [ cmake pkgconfig ];
|
||
|
|
||
|
cmakeFlags = "-DPAGEDGEOMETRY_BUILD_SAMPLES=OFF";
|
||
|
|
||
|
enableParallelBuilding = true;
|
||
|
|
||
|
meta = {
|
||
|
description = "Paged Geometry for Ogre3D";
|
||
|
homepage = http://code.google.com/p/ogre-paged/;
|
||
|
license = "MIT";
|
||
|
};
|
||
|
}
|