From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id QC2eCLGxDGalxwAAe85BDQ:P1 (envelope-from ) for ; Wed, 03 Apr 2024 03:32:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QC2eCLGxDGalxwAAe85BDQ (envelope-from ) for ; Wed, 03 Apr 2024 03:32:33 +0200 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="h/zpL6Lw"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712107953; 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=nCMyHTFxAHg4yuRhrodHzxbuAu7P7r3SqVNQF5o3YsrMKSI3PlsokxmxfaqdVSr/naFqTQ Uks82aw4Q6tCZH6hzQ/xFmMyKOsUJwuhms8aFHFpO5nX9Cri5q6ppMlL9lbQTt10XYV1/K 3jd+T4NQhAN4vyHIzhYoH31swh1cNDAPw5cEMgRYhhNZQVVCQXLdwnaVjQHSTTIbrIi7QF CBOiYkYUSnS8/77Di8uEgw8R2PfK1zpEaM6+4UhTsmS4+E43dp5RfxMNnfkzGSa09wxyEq QJRuWWCiMcyZZejXy006PES0mbVXvCjWXogxy/CuwH6ZN4aLRLjiRQ+1engFPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="h/zpL6Lw"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712107953; a=rsa-sha256; cv=none; b=c9Fx5srvgKgxo2V+rY65iOmC9zN2Zp8RpexEFlcO/VAmCSjK34PCxjCxughkwNRNiucoVV XgPzQZREATB9aFuMDDrJNOEbOWmMcp9h/i9lJR5ZcaavflAoPrTdVlQd/KMFaviydvBE46 8VwcJCsbcMAL1YlAtyX+9iBxLeD69ugoUZgotu30WT1fBMI0kgsRs1DLTd6OdJkJkOivgC hBvDfCIOlI5YK0qkW/Tn52JniNrEorsQd34/7XlzjL1qno3wFVCCxHgGn0xsrqlnjzb7OJ m08UMCHLmpyS2cC+e3d3r8bnfQwg0mx2bLNwxgHuKYEz7FW/aVx1LeyyqurvwQ== 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 0333B61ED for ; Wed, 03 Apr 2024 03:32:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrpTu-0008JS-Go; Tue, 02 Apr 2024 21:32:02 -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 1rrpTs-0008Hd-DT for guix-patches@gnu.org; Tue, 02 Apr 2024 21:32:00 -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 1rrpTs-0001Bp-4V for guix-patches@gnu.org; Tue, 02 Apr 2024 21:32:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrpTw-0002DC-4x for guix-patches@gnu.org; Tue, 02 Apr 2024 21:32:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70035] [PATCH v3 4/9] gnu: Add pystring. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Apr 2024 01:32:04 +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.17121078958266 (code B ref 70035); Wed, 03 Apr 2024 01:32:04 +0000 Received: (at 70035) by debbugs.gnu.org; 3 Apr 2024 01:31:35 +0000 Received: from localhost ([127.0.0.1]:56614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrpTS-00029F-S9 for submit@debbugs.gnu.org; Tue, 02 Apr 2024 21:31:35 -0400 Received: from mout02.posteo.de ([185.67.36.66]:53347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrpTQ-000284-42 for 70035@debbugs.gnu.org; Tue, 02 Apr 2024 21:31:33 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 72038240101 for <70035@debbugs.gnu.org>; Wed, 3 Apr 2024 03:31:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1712107882; bh=mFfLlijsRIHSQau664UOfXE0rg1puY0eGfl5Vd5UdLk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=h/zpL6LwJ7RiMqMq7H/EJS0168cdohPJW8VnsWcgmR4Bx3/uq9vIZt/5m0FWehHu1 X6DvIGS5YZJyBtjG2rZDwSQrT7Q9ZAbSgsgRjroFLjCk20ZNopVvxuzm1Sj29ViFvh KT9uZdLThC0rMfBuc53LcAGK6ioTZdiM5kHn4lXfUX1qhooxRoFyVnWi9+0KrFSJbz F6SS02hehpVQJmhiULRfi9MeUQJZU4l+TqPS5EDaO3JqiY4+vIWChUJ4xmL72PeThg LORoeLo7i92vZjsAk7b7YxbaDdgFLTI1DZOyZjvB38N1YtT3BcrxXhhw4NWARauSVI IELZDT8Fhmj1w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V8RzY4rK6z6tx5; Wed, 3 Apr 2024 03:31:21 +0200 (CEST) From: Vinicius Monego Date: Wed, 3 Apr 2024 01:30:24 +0000 Message-Id: <2d5c8882ce6a7e3913872b68b0f2cd3503283467.1712107465.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-Spam-Score: -3.95 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -3.95 X-Migadu-Queue-Id: 0333B61ED X-TUID: zavp/Ttw03S0 * 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