From unknown Sat Sep 13 00:37:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#46673 <46673@debbugs.gnu.org> To: bug#46673 <46673@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add cli11. Reply-To: bug#46673 <46673@debbugs.gnu.org> Date: Sat, 13 Sep 2025 07:37:18 +0000 retitle 46673 [PATCH] gnu: Add cli11. reassign 46673 guix-patches submitter 46673 Milkey Mouse severity 46673 normal tag 46673 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 20 20:26:48 2021 Received: (at submit) by debbugs.gnu.org; 21 Feb 2021 01:26:48 +0000 Received: from localhost ([127.0.0.1]:53272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDdWJ-00043a-Up for submit@debbugs.gnu.org; Sat, 20 Feb 2021 20:26:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:58760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDdNW-0003qK-Mg for submit@debbugs.gnu.org; Sat, 20 Feb 2021 20:17:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDdNW-0004CN-Gk for guix-patches@gnu.org; Sat, 20 Feb 2021 20:17:42 -0500 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21453) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDdNU-0006VS-O7 for guix-patches@gnu.org; Sat, 20 Feb 2021 20:17:42 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1613870256; cv=none; d=zohomail.com; s=zohoarc; b=UED48KOsEoJI+JOMAo8qyVJ34JreBaVuv78GgZuMUwt2XJEAFEaEOTiZlZg0LTelcV2Vux/zKH+7z8hg8/ls7OHNfKl85qOLD4iMGbh1b/Ii4qkPo0trTNosXkzyMf1612BUptfteSLuB76tHzvnSjz2nY39AguRLTKK4C6wpGc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613870256; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=I+5wLc2q+rfaA/FYx4dFdi76sJgZV3aUitvcwvffAaw=; b=j54B5a7AKF2VEHtspAWcMsvZ7QQC+fE5LlUd3Nz8P6DrjLLnvTg7hLCnnAggogMQwmtvYZDGum03zUQ8+fRt/AGjs3WUOe4m/kT/aohxTiiUymN5nkP75PJaqeh0uyPsf6Uwc/3SAo4p07tFCffcR30ATjON46U5+tJAcy9Ic3U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=meme.institute; spf=pass smtp.mailfrom=milkeymouse@meme.institute; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1613870256; s=memelord; d=meme.institute; i=milkeymouse@meme.institute; h=From:To:Message-ID:Subject:Date:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=I+5wLc2q+rfaA/FYx4dFdi76sJgZV3aUitvcwvffAaw=; b=kpaIZcht4PV07KNzF+sR+jSTKjMT8fEmQNidX6JFoKQZYjwnHHApmOcc6zSiAPhl 02B9ae0avGjBI/GR0+EV4WDu91rXomWIRNxnkLaZguI6IkfrDnGv1M6hwvTKy0q0tHp hWvB+hS049R4WwTF6kzEEIKpFq4VUqUoLtXUOZQA= Received: from jupiter.local (50.47.115.222 [50.47.115.222]) by mx.zohomail.com with SMTPS id 1613870253086537.146204212367; Sat, 20 Feb 2021 17:17:33 -0800 (PST) From: Milkey Mouse To: guix-patches@gnu.org Message-ID: <20210221011728.757238-1-milkeymouse@meme.institute> Subject: [PATCH] gnu: Add cli11. Date: Sat, 20 Feb 2021 17:17:28 -0800 X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Content-Type: text/plain; charset=utf8 Received-SPF: pass client-ip=136.143.188.54; envelope-from=milkeymouse@meme.institute; helo=sender4-of-o54.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 20 Feb 2021 20:26:45 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/cpp.scm (cli11): New variable. --- gnu/packages/cpp.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 331afc2e3e..1eb0f1a73a 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -40,6 +40,7 @@ #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) + #:use-module (guix modules) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages boost) @@ -903,3 +904,51 @@ provides a number of utilities to make coding with exp= ected cleaner.") (description "Magic Enum offers static reflection of enums, with conversions to and from strings, iteration and related functionality.") (license license:expat))) + +(define-public cli11 + (package + (name "cli11") + (version "1.9.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/CLIUtils/CLI11") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hbch0vk8irgmiaxnfqlqys65v1770rxxdfn3d23m2vqyjh0j9l6")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "extern") + #t)))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags + '("-DCLI11_SINGLE_FILE=3DOFF" + "-DCLI11_BUILD_EXAMPLES=3DOFF") + #:imported-modules ,(append %cmake-build-system-modules + (source-module-closure '((guix utils)))= ) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'no-vendor-gtest + (lambda _ + (use-modules (guix utils)) + (substitute* "tests/CMakeLists.txt" + ;; We provide our own googletest, so this is not really a p= roblem. + (("message\\(FATAL_ERROR \"You have requested tests be buil= t, but googletest is not downloaded." msg) + (string-replace-substring msg "FATAL_ERROR" "TRACE"))) + (substitute* "cmake/AddGoogletest.cmake" + (("^add_subdirectory\\(.*googletest.*$") "find_package(GTes= t REQUIRED)") + (("^set_target_properties\\(gtest gtest_main gmock gmock_ma= in") "") + (("^ PROPERTIES FOLDER \"Extern\"\\)") "")) + #t))))) + (native-inputs + `(("doxygen" ,doxygen) + ("googletest" ,googletest))) + (synopsis "Command line parser for C++11") + (description + "CLI11 is a command line parser for C++11 and beyond that provides a = rich +feature set with a simple and intuitive interface.") + (home-page "https://cliutils.github.io/CLI11/book/") + (license license:bsd-3))) --=20 2.30.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 21 04:20:47 2021 Received: (at 46673-done) by debbugs.gnu.org; 21 Feb 2021 09:20:47 +0000 Received: from localhost ([127.0.0.1]:53502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDkv1-00011E-Fx for submit@debbugs.gnu.org; Sun, 21 Feb 2021 04:20:47 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDkuw-00010v-Fy for 46673-done@debbugs.gnu.org; Sun, 21 Feb 2021 04:20:45 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 102BC60003; Sun, 21 Feb 2021 09:20:34 +0000 (UTC) From: Nicolas Goaziou To: Milkey Mouse Subject: Re: [bug#46673] [PATCH] gnu: Add cli11. References: <20210221011728.757238-1-milkeymouse@meme.institute> Date: Sun, 21 Feb 2021 10:20:33 +0100 In-Reply-To: <20210221011728.757238-1-milkeymouse@meme.institute> (Milkey Mouse's message of "Sat, 20 Feb 2021 17:17:28 -0800") Message-ID: <87sg5pwzdq.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46673-done Cc: 46673-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Milkey Mouse writes: > * gnu/packages/cpp.scm (cli11): New variable. I added a copyright line for you (let me know if you want to change the attribution), and pushed. Thank you! Regards, -- Nicolas Goaziou From unknown Sat Sep 13 00:37:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 21 Mar 2021 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator