3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request from azahi/fix/openspades

openspades: fix build
This commit is contained in:
superherointj 2022-09-03 22:08:38 -03:00 committed by GitHub
commit af4d7ff014
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];
};
}