From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GPOACu6i8GY9fAAA62LTzQ:P1 (envelope-from ) for ; Sun, 22 Sep 2024 23:06:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GPOACu6i8GY9fAAA62LTzQ (envelope-from ) for ; Mon, 23 Sep 2024 01:06:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=hMOUnYKG; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b=0mNnvbbg; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="j d55WjD"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727046381; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qouHn1LDvqtZWfoZaeWOv54p+8QIjMLcHMj8AlyLjWw=; b=C5v+3F41V/L17nHiYblYfX3GYcUIzhWMKmb7ojH9UeL2PoK8d+hgrA5RBznPDWk8ytSXhK IY6NC5X/RAkTxflED+rGHu2HdqdSbto6DDJKMiSJ10KwQ9NhGIiYu9NQOafuw6ZwDDc5zC RIOSgAdQRyZ8nNjSnfZdG43fW/SGKnYHtbtcg+w9Rxr2tWSLg7/qmQQLLFK2MxlsLwNJGa DyFz7WveH8908bhxinnt/RNlx9+m1GGs3KIj/LWPNOdVE3rMpSY6uY+uWX5AgzAGK+Vvds 4LoDFLEfKPhCogfrlKsTQih6clG5Fvdi31ecJ23OSqSAxYdZMoLWG8t4m8IIGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=hMOUnYKG; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b=0mNnvbbg; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="j d55WjD"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727046381; a=rsa-sha256; cv=none; b=Aj+FxYCK0xT0boP9WTXeu0YXB5ctt16Bdnoy/6p1+tTz7PY0vCY2TadC4MHEihCSfyQ80b Kx9C2LEC3rhwLv/G4+i/5TdiGLKBcxXZMpiqQmojuK+Tbz0a14H5wMLMljPRw0PM8I2B2j YLx2JmzHl00j9/w4HINNM/Ae9TaRXrYA2FMFapovziGZpNIWfLTiXwwxZosGgXkTrZlJjX S97tdpD//56n8MgVswe99fi2GejO/ZhdMjAIXwoTe4+4CwdzAmxYAUOLwjUd5vGppK5Wd9 F4K6Au6RjV0h3ZRclWJNlHUlnaNCuikqa3sFdf1vW6kXaQrwc0LXqQuUteOOdQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9A93078573 for ; Mon, 23 Sep 2024 01:06:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssVeE-00041T-1V; Sun, 22 Sep 2024 19:05:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ssVeB-000408-4K for guix-patches@gnu.org; Sun, 22 Sep 2024 19:05:43 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ssVeA-0008Ru-QV for guix-patches@gnu.org; Sun, 22 Sep 2024 19:05:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=qouHn1LDvqtZWfoZaeWOv54p+8QIjMLcHMj8AlyLjWw=; b=hMOUnYKGq5Gd2iV9fgVkreiO36Rqo24SKkvTpVdm2c734N77BLtx1zQY4JGKHnIVzrgSNuzl3OamAKJ9/RNyik8lB8vGHR98X/NlF3pssQ3s5hySJ5Ok2Df6ANk36/kSHmwx5SonJMYNPGpWOo5wrfFykeL8KdWHPt+1mKRkd9yUJ3GZxYfSIJKYNA66Tv5q4AoqJBxbLhdw+2wc3+QWclFRC6x6Eqx+mG2yRwOmEC+b33VNuYjwNuq7d+2Dl8dyvR42qsp1MSfHYqpvzCFYQA44KHawsTMjKy2mSZ02O7MNk3XtZ4oJTALTTCBilx/4ogxZWPqJloA8gSWj2hXP6A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ssVeW-00016l-UV; Sun, 22 Sep 2024 19:06:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH v10 6/9] gnu: Add cpm-cmake. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: i@dan.games, maxim.cournoyer@gmail.com, liliana.prikler@gmail.com, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 22 Sep 2024 23:06:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71897 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71897@debbugs.gnu.org Cc: dan , Maxim Cournoyer , Liliana Marie Prikler , Sharlatan Hellseher X-Debbugs-Original-Xcc: dan , Maxim Cournoyer , Liliana Marie Prikler , Sharlatan Hellseher Received: via spool by 71897-submit@debbugs.gnu.org id=B71897.17270463233596 (code B ref 71897); Sun, 22 Sep 2024 23:06:04 +0000 Received: (at 71897) by debbugs.gnu.org; 22 Sep 2024 23:05:23 +0000 Received: from localhost ([127.0.0.1]:42923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssVdq-0000vn-V6 for submit@debbugs.gnu.org; Sun, 22 Sep 2024 19:05:23 -0400 Received: from fhigh2-smtp.messagingengine.com ([103.168.172.153]:37763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssVdo-0000v9-D9 for 71897@debbugs.gnu.org; Sun, 22 Sep 2024 19:05:21 -0400 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id 16D7611400FA for <71897@debbugs.gnu.org>; Sun, 22 Sep 2024 19:04:53 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Sun, 22 Sep 2024 19:04:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1727046293; x=1727132693; bh=qouHn1LDvqtZWfoZaeWOv54p+8QIjMLcHMj8AlyLjWw=; b= 0mNnvbbgbJsl7fOBGdsTomFs2BbefWwoMAQ3YcZrxZGc8ZIrtOmIV0Whs3VLgxBU ltIcWbdFWWy6INfI7Bj6o/YV1kEEnwgiEy0lLSyEfcFfZYuO394ZawayEK64hj80 gXvUNfl5ZQYPnXrVYDJ8fG1eIbzyznNq78FHszxvzoPXCnTV5n7jxrn9FNOgMKys Rhl9I4sQWs4e9EGUTecPNFmUPwiDBM8eMtAXoMTT548uQZMVh5xc/PEZtGG2UeOQ jgj0efmvAOfuUNmNbpm03ac1Rz8TacKBbeeR3nqwKjxZCCzscYoJ3Jn1RGTMfMqc QWTI0OY9ueoNSWpK1biRlg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1727046293; x= 1727132693; bh=qouHn1LDvqtZWfoZaeWOv54p+8QIjMLcHMj8AlyLjWw=; b=j d55WjDyK6/gGgmDQXeyc3STDi2pe8+NUl8VdSuKD3Pi2PL8tlZFt1avqr+XNp6VZ Ihx++VkBX2ttfxvmtWlX+sw1vWF0SpnQcl/ur4CRQIMghrrJ2IW8kXHuhw7Qi8Oe NGhzewrEpV4O5hGaQMOcHJvQkyFAvLHSwED1u0lr3PpBbWoJ62RiA0yuPztuno6M 9MXF7TtB4SZWIKxP/e86PAZ9Uh6MjCiQsY1E/FM5bNpT122HRaDavzS8w5DJdHJU kK1BeYiqg19Ico0glY37ojRKid58B1OYtPATJYHEO9KEoemn8kIvgDUGzl606QPf uA1JiVMbjBmKDQBfwrRJA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudelkedgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuff fkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpegurghnuceoihesuggrnhdrghgr mhgvsheqnecuggftrfgrthhtvghrnhepkeegvddvtdejtdeuvddtffehheegkeevkefhte fffeekledvvdeigeeggfekledunecuffhomhgrihhnpehgihhthhhusgdrtghomhenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehisegurghnrd hgrghmvghspdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphht thhopeejudekleejseguvggssghughhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <71897@debbugs.gnu.org>; Sun, 22 Sep 2024 19:04:51 -0400 (EDT) From: dan Date: Mon, 23 Sep 2024 07:04:05 +0800 Message-ID: <499af047b20d2096a446aa30fad8cd1969701209.1727046228.git.i@dan.games> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9A93078573 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -8.16 X-Migadu-Spam-Score: -8.16 X-TUID: /u5FpcXBjXZt * gnu/packages/cmake.scm (cpm-cmake): New variable. Change-Id: I3938f1da1513010c8af6bedc2aa26635d43ca7ce --- gnu/packages/cmake.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm index 0a9e5ba907..4466c4b91d 100644 --- a/gnu/packages/cmake.scm +++ b/gnu/packages/cmake.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen ;;; Copyright © 2021 Ricardo Wurmus ;;; Copyright © 2024 John Kehayias +;;; Copyright © 2024 dan ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +40,7 @@ (define-module (gnu packages cmake) #:use-module (guix deprecation) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system emacs) #:use-module ((guix search-paths) #:select ($SSL_CERT_DIR $SSL_CERT_FILE)) #:use-module (gnu packages) @@ -520,3 +522,26 @@ (define-public tinycmmc (description "The tinycmmc package contains a small collection of reusable CMake modules.") (license license:zlib))) + +(define-public cpm-cmake + (package + (name "cpm-cmake") + (version "0.38.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cpm-cmake/CPM.cmake") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qbbhdq6cz2y7qfyy1k11i98d13s229r3phd5y3n5maq51ky8bgb")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan #~'(("cmake/CPM.cmake" "lib/cmake/CPM.cmake")))) + (home-page "https://github.com/cpm-cmake/CPM.cmake") + (synopsis "Package manager for CMake") + (description "CPM.cmake is a cross-platform CMake script that adds +dependency management capabilities to CMake.") + (license license:expat))) -- 2.45.2