1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/ogrepaged/default.nix

26 lines
715 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, pkgconfig, ois, ogre, libX11, boost }:
stdenv.mkDerivation rec {
name = "ogre-paged-${version}";
version = "1.2.0";
src = fetchurl {
url = "https://github.com/RigsOfRods/ogre-pagedgeometry/archive/v${version}.tar.gz";
sha256 = "17j7rw9wbkynxbhm2lay3qgjnnagb2vd5jn9iijnn2lf8qzbgy82";
};
buildInputs = [ ois ogre libX11 boost ];
nativeBuildInputs = [ cmake pkgconfig ];
2016-04-11 14:28:03 +01:00
cmakeFlags = [ "-DPAGEDGEOMETRY_BUILD_SAMPLES=OFF" ];
enableParallelBuilding = true;
meta = {
description = "Paged Geometry for Ogre3D";
homepage = https://github.com/RigsOfRods/ogre-paged;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
};
}