From 47ffbb2df830bac739ed9427a2d6db21c304d443 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Mon, 25 Sep 2023 18:13:01 -0300 Subject: [PATCH] gmic: use lib.cmakeBool --- pkgs/tools/graphics/gmic/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/graphics/gmic/default.nix b/pkgs/tools/graphics/gmic/default.nix index a5d3b53b5ec1..59022bcca505 100644 --- a/pkgs/tools/graphics/gmic/default.nix +++ b/pkgs/tools/graphics/gmic/default.nix @@ -64,10 +64,10 @@ stdenv.mkDerivation (finalAttrs: { ]; cmakeFlags = [ - "-DBUILD_LIB_STATIC=OFF" - "-DENABLE_CURL=OFF" - "-DENABLE_DYNAMIC_LINKING=ON" - "-DUSE_SYSTEM_CIMG=ON" + (lib.cmakeBool "BUILD_LIB_STATIC" false) + (lib.cmakeBool "ENABLE_CURL" false) + (lib.cmakeBool "ENABLE_DYNAMIC_LINKING" true) + (lib.cmakeBool "USE_SYSTEM_CIMG" true) ]; postPatch = '' @@ -115,7 +115,10 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://gmic.eu/"; description = "Open and full-featured framework for image processing"; license = lib.licenses.cecill21; - maintainers = [ lib.maintainers.lilyinstarlight ]; + maintainers = [ + lib.maintainers.AndersonTorres + lib.maintainers.lilyinstarlight + ]; platforms = lib.platforms.unix; }; })