assimp: fix include directory with split outputs
Assimp used a hardcoded path to the include directory, which doesn't work with split outputs. The included patch has been accepted upstream.
This commit is contained in:
parent
db32554265
commit
e9b691ea5d
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, boost, zlib }:
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "assimp";
|
pname = "assimp";
|
||||||
|
@ -12,6 +12,15 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-GNSfaP8O5IsjGwtC3DFaV4OiMMUXIcmHmz+5TCT/HP8=";
|
hash = "sha256-GNSfaP8O5IsjGwtC3DFaV4OiMMUXIcmHmz+5TCT/HP8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix include directory with split outputs
|
||||||
|
# https://github.com/assimp/assimp/pull/4337
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/assimp/assimp/commit/5dcaf445c3da079cf43890a0688428a7e1de0b30.patch";
|
||||||
|
sha256 = "sha256-KwqTAoDPkhFq469+VaUuGoqfymu2bWLG9W3BvFvyU5I=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ boost zlib ];
|
buildInputs = [ boost zlib ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue