gmic: use lib.cmakeBool

This commit is contained in:
Anderson Torres
2023-09-25 18:13:01 -03:00
parent cc3383d12b
commit 47ffbb2df8

View File

@@ -64,10 +64,10 @@ stdenv.mkDerivation (finalAttrs: {
]; ];
cmakeFlags = [ cmakeFlags = [
"-DBUILD_LIB_STATIC=OFF" (lib.cmakeBool "BUILD_LIB_STATIC" false)
"-DENABLE_CURL=OFF" (lib.cmakeBool "ENABLE_CURL" false)
"-DENABLE_DYNAMIC_LINKING=ON" (lib.cmakeBool "ENABLE_DYNAMIC_LINKING" true)
"-DUSE_SYSTEM_CIMG=ON" (lib.cmakeBool "USE_SYSTEM_CIMG" true)
]; ];
postPatch = '' postPatch = ''
@@ -115,7 +115,10 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://gmic.eu/"; homepage = "https://gmic.eu/";
description = "Open and full-featured framework for image processing"; description = "Open and full-featured framework for image processing";
license = lib.licenses.cecill21; license = lib.licenses.cecill21;
maintainers = [ lib.maintainers.lilyinstarlight ]; maintainers = [
lib.maintainers.AndersonTorres
lib.maintainers.lilyinstarlight
];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };
}) })