From d52efcc9d3d007c6586e2cc815208c6a35b249bb Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Tue, 29 Mar 2016 15:38:48 -0400 Subject: [PATCH] assimp: add missing zlib dependency cmake searches for this package during the build phase. --- pkgs/development/libraries/assimp/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/assimp/default.nix b/pkgs/development/libraries/assimp/default.nix index cfe86ce4e70e..38d7e50bdf8e 100644 --- a/pkgs/development/libraries/assimp/default.nix +++ b/pkgs/development/libraries/assimp/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, unzip, cmake, boost }: +{ stdenv, fetchurl, unzip, cmake, boost, zlib }: let major = "3"; @@ -14,14 +14,14 @@ stdenv.mkDerivation { sha256 = "17nyzsqzqpafamhi779f1bkh5mfgj8rpas034x3v9a0hdy3jg66s"; }; - buildInputs = [ unzip cmake boost ]; + buildInputs = [ unzip cmake boost zlib ]; meta = with stdenv.lib; { description = "A library to import various 3D model formats"; homepage = http://assimp.sourceforge.net/; license = licenses.bsd3; maintainers = with maintainers; [ ehmry ]; - platfroms = platforms.linux; + platfroms = [ platforms.linux platforms.darwin ]; inherit version; }; -} \ No newline at end of file +}