openspades: fix build

This commit is contained in:
Azat Bahawi
2022-09-04 01:22:11 +03:00
parent 7739d3ac37
commit d4cbef6968
+3 -3
View File
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, fetchFromGitHub, fetchpatch, cmake, unzip, zip, file
, curl, glew , libGL, SDL2, SDL2_image, zlib, freetype, imagemagick
, openal , opusfile, libogg
, Cocoa
, Cocoa, libXext
}:
stdenv.mkDerivation rec {
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake imagemagick unzip zip file ];
buildInputs = [
freetype SDL2 SDL2_image libGL zlib curl glew opusfile openal libogg
freetype SDL2 SDL2_image libGL zlib curl glew opusfile openal libogg libXext
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
Cocoa
];
@@ -63,6 +63,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/yvt/openspades/";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ abbradar ];
maintainers = with maintainers; [ abbradar azahi ];
};
}