From 6ea702f2a01e25ddec443736146b736d6aee9b69 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 19 Feb 2023 17:52:40 +0100 Subject: [PATCH] cimg: Add gmic and gmic-qt to passthru.tests They often need to be updated in lockstep. --- pkgs/development/libraries/cimg/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/libraries/cimg/default.nix b/pkgs/development/libraries/cimg/default.nix index 566c427d46a6..941abaf0ba0b 100644 --- a/pkgs/development/libraries/cimg/default.nix +++ b/pkgs/development/libraries/cimg/default.nix @@ -1,6 +1,8 @@ { lib , stdenv , fetchFromGitHub +, gmic +, gmic-qt }: stdenv.mkDerivation rec { @@ -28,6 +30,11 @@ stdenv.mkDerivation rec { runHook postInstall ''; + passthru.tests = { + # Need to update in lockstep. + inherit gmic gmic-qt; + }; + meta = with lib; { homepage = "http://cimg.eu/"; description = "A small, open source, C++ toolkit for image processing";