From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4CrPKtuPBWaZAwAAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Mar 2024 16:42:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4CrPKtuPBWaZAwAAqHPOHw (envelope-from ) for ; Thu, 28 Mar 2024 16:42:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=pNEd+J6S; 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=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711640539; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=ZvtSx1kLM4GPvJw904pRreAbMN/JZNFzmTJpeD3nhsE=; b=huNbdntGxDN6zprWsgs2bk2NJ235fygjAgHsIsGw7Nov/QzjTeW7g3cLcG56uw58P2zGrk LLuec0smgWSewDBxWLpQSHuGJR56cnkvDVXYpRRJRddxreQLmVeBmhppxAaSXNzqDvI5ij T+WAp50HNi3zIMe4oFbCDyTAmPQ+y4LUA5ALp6DMiqfiLTMRlMhVWZYUZBl0val/89AJFj cywMBOYIJDpFGrNYKgrT+fIWbUx7D/6PvMhBokV/CZbR1XeLEISUH0lLvLEoJeHU2AxW35 pwLcSQkF48UyDgitcr/l3ajswWhtWHNwwRoMikKetp6D9JD4b0uMyu/eu2YT0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=pNEd+J6S; 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=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711640539; a=rsa-sha256; cv=none; b=f7eLOEu6ZFzKlZeJpeFk9wkjGGnMjFdN3iFsY9p2rjMRGUDBshIfVHBULtvjumFIqc0cP+ ciODvJ15M/Fg0gRP/ejFSNoqNjadFyNB8myieddNXxWr9bzxiPmopaJfo+9zyQk1OS1GIS sCeXXUytvramxpW8+LZKN0OQua8R7fb3qS8PetUEFJ6Q/Ui7p7Ne548J81pI3SyZidcJh0 h3GKPe5UOJN5hEbVAqWzBQTYO4JkznxeoFb1cKDIjhqMO0nVLV2eF3JldqwidFbqLOAwkW B51/leupIDzW8rDDcY5adQadyQslZsHi3opxfWtbVCDOCEJuQH4e1Xk3qWrWRA== 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 23FD83C6A8 for ; Thu, 28 Mar 2024 16:42:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rprtL-0003fz-UH; Thu, 28 Mar 2024 11:42:11 -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 1rprtF-0003VX-Pr for guix-patches@gnu.org; Thu, 28 Mar 2024 11:42:06 -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 1rprtF-0007ZK-EP for guix-patches@gnu.org; Thu, 28 Mar 2024 11:42:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rprtG-0003Vh-1v for guix-patches@gnu.org; Thu, 28 Mar 2024 11:42:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70035] [PATCH v2 4/8] gnu: Add pystring. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Mar 2024 15:42:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70035 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70035@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 70035-submit@debbugs.gnu.org id=B70035.171164049513249 (code B ref 70035); Thu, 28 Mar 2024 15:42:06 +0000 Received: (at 70035) by debbugs.gnu.org; 28 Mar 2024 15:41:35 +0000 Received: from localhost ([127.0.0.1]:40941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rprsk-0003RX-QN for submit@debbugs.gnu.org; Thu, 28 Mar 2024 11:41:35 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rprsh-0003Qj-U7 for 70035@debbugs.gnu.org; Thu, 28 Mar 2024 11:41:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 84D2A24002A for <70035@debbugs.gnu.org>; Thu, 28 Mar 2024 16:41:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711640485; bh=mFfLlijsRIHSQau664UOfXE0rg1puY0eGfl5Vd5UdLk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=pNEd+J6S13QEes8x9dNxFEawZXG7T8Bj2WkVMtA5sqdwBDH+QKkT1MWvS3VDYgX7A I+56ua2fBTXtMreBkvsVmQvL9Cl7gcMWFz0l5VWz4MwX44LfXXEnH8RpEV+KdWxcLL Jh76x1aZXkQeNpzLp3+2TNZ329EQQdUqiCobB9drxdrKT0jwTgCXtGaCN6XgN7bKpp 7eMzjyd8m3sDlhqckkPTZ2FiSMiLA9mFrNbIzNzcsfXm/rQc936+fBOwuEa+NNCicc cmrX0I9CjqBD8xR4Xl55rhtSkxPDxQcFwljjnVdf4bPJ0OefCKv1w9qTHRkGMJ7ssH BaDOPlo90zZwg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V57784mmqz6txS; Thu, 28 Mar 2024 16:41:24 +0100 (CET) From: Vinicius Monego Date: Thu, 28 Mar 2024 15:40:44 +0000 Message-Id: <8ae01dfca2c5cfa3942d1cf7f319c94f33268d8a.1711639886.git.monego@posteo.net> In-Reply-To: References: MIME-Version: 1.0 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: 23FD83C6A8 X-Spam-Score: -3.95 X-Migadu-Spam-Score: -3.95 X-Migadu-Scanner: mx11.migadu.com X-TUID: XZbyvPiGwrzN * gnu/packages/cpp.scm (pystring): New variable. Change-Id: Ifff1ae3d3ed8ec880a2dd098d6d81de28d7bdda6 --- gnu/packages/cpp.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 2c04920166..7c3c35e048 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -477,6 +477,44 @@ (define-public rct (license (list license:expat ; cJSON license:bsd-4))))) ; everything else (LICENSE.txt) +(define-public pystring + (package + (name "pystring") + (version "1.1.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/imageworks/pystring") + (commit (string-append "v" version)))) + (sha256 + (base32 "0h12x24skrlx4fv0k5vl8wnar8gi6bq091yp93awkwsbnm8qwkzd")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + ;; The install phase doesn't install the header + (add-after 'install 'install-header + (lambda _ + (mkdir-p (string-append #$output "/include")) + (copy-file + (string-append #$(package-source this-package) + "/pystring.h") + (string-append #$output + "/include/pystring.h"))))))) + (native-inputs (list pkg-config)) + (home-page "https://github.com/imageworks/pystring") + (synopsis "C++ functions matching the Python string methods") + (description + "Pystring is a collection of C++ functions which match the interface and +behavior of Python's string class methods using std::string. Implemented in +C++, it does not require or make use of a python interpreter. It provides +convenience and familiarity for common string operations not included in the +standard C++ library. It's also useful in environments where both C++ and +Python are used.") + (license license:bsd-3))) + (define-public dashel (package (name "dashel") -- 2.39.2