0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

libresprite: 1.1 -> 1.2

This commit is contained in:
Francesco Gazzetta 2025-05-08 18:56:46 +02:00
parent 7c14e075ea
commit b940662241

View file

@ -18,6 +18,7 @@
libX11,
pixman,
tinyxml-2,
xorg,
zlib,
SDL2,
SDL2_image,
@ -28,14 +29,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libresprite";
version = "1.1";
version = "1.2";
src = fetchFromGitHub {
owner = "LibreSprite";
repo = "LibreSprite";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-piA/hLQqdfyVH4GPu5ElXZtowQL9AGaK7GhZOME4L0Q=";
hash = "sha256-jXjrA859hR46Cp5qi6Z1C+hLWCUR7yGlASOGlTveeW8=";
};
nativeBuildInputs = [
@ -45,7 +46,8 @@ stdenv.mkDerivation (finalAttrs: {
gtest
];
buildInputs = [
buildInputs =
[
curl
freetype
giflib
@ -61,6 +63,9 @@ stdenv.mkDerivation (finalAttrs: {
SDL2_image
lua
# no v8 due to missing libplatform and libbase
]
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
xorg.libXi
];
cmakeFlags = [