From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iamIH/A5Cl++QQAA0tVLHw (envelope-from ) for ; Sat, 11 Jul 2020 22:15:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2v4WG/A5Cl9SDwAA1q6Kng (envelope-from ) for ; Sat, 11 Jul 2020 22:15:12 +0000 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 D0BAE9401AE for ; Sat, 11 Jul 2020 22:15:11 +0000 (UTC) Received: from localhost ([::1]:36420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juNm1-0000XG-GD for larch@yhetil.org; Sat, 11 Jul 2020 18:15:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juNlu-0000X1-BC for guix-patches@gnu.org; Sat, 11 Jul 2020 18:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juNlu-0006vK-1T for guix-patches@gnu.org; Sat, 11 Jul 2020 18:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1juNlt-0004Pd-Sm for guix-patches@gnu.org; Sat, 11 Jul 2020 18:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42328] [PATCH] gnu: Add chaiscript. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Jul 2020 22:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42328 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42328@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159450566916904 (code B ref -1); Sat, 11 Jul 2020 22:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jul 2020 22:14:29 +0000 Received: from localhost ([127.0.0.1]:45020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juNlJ-0004OV-AU for submit@debbugs.gnu.org; Sat, 11 Jul 2020 18:14:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:52074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juNlG-0004OL-M4 for submit@debbugs.gnu.org; Sat, 11 Jul 2020 18:14:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juNlG-0000UX-HK for guix-patches@gnu.org; Sat, 11 Jul 2020 18:14:22 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juNlD-0006qd-3U for guix-patches@gnu.org; Sat, 11 Jul 2020 18:14:22 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 3AE662400FD for ; Sun, 12 Jul 2020 00:14:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1594505654; bh=28rVYj2i5eQMdz/wLzbOacSlpbW7q2wy/Ex3peloc4c=; h=From:To:Cc:Subject:Date:From; b=aNZ5yr0Jdv61fq47eNtRMDakAiU7f/L4kENd1KfI2gCxygPigC5j+F600+1cH5tW2 ZU+cB/nS/rVG3MGt4zZZp2B7mar64b0Un09341GttI5PCmENXe661m37mGBPsZ2R0w 8i9rxkAQ7Euv3C4v6lwvcfOU6NdMRCN3LA4AtqHkOUi9KLnO6eJtGavShCMe3VFb/x gX5/4F+0UTMPO3qQsWYX5Djp4THct/SLZgVg1rCHB6Q3vQEptnnKHK32OVodQmuF2D i7Ep6AsQCFhgsbKigRKqWWtw4YD/dQ5ZcGye1dQXZIUF1i7Y5SqLL6zyyBJTW61wLF 4GCyrdMOQoR9g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4B442D3mVhz6tmJ; Sun, 12 Jul 2020 00:14:12 +0200 (CEST) From: Vinicius Monego Date: Sat, 11 Jul 2020 19:13:58 -0300 Message-Id: <20200711221358.13512-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/11 17:07:59 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=aNZ5yr0J; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: ruwl6Sn5IPBH * gnu/packages/cpp.scm (chaiscript): New variable. --- gnu/packages/cpp.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index a1d82ccbc1..a2e1326a22 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2020 Roel Janssen ;;; Copyright © 2020 Ricardo Wurmus ;;; Copyright © 2020 Brice Waegeneire +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -167,6 +168,37 @@ accelerated implementation of common mathematical functions operating on batches.") (license license:bsd-3))) +(define-public chaiscript + (package + (name "chaiscript") + (version "6.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ChaiScript/ChaiScript.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0i1c88rn1wwz8nf3dpapcdkk4w623m3nksfy5yjai10k9irkzy3c")))) + (build-system cmake-build-system) + (home-page "https://chaiscript.com/") + (synopsis "Embedded scripting language designed for C++") + (description + "ChaiScript is one of the only embedded scripting language designed from +the ground up to directly target C++ and take advantage of modern C++ +development techniques. Being a native C++ application, it has some advantages +over existing embedded scripting languages: + +@enumerate +@item Uses a header-only approach, which makes it easy to integrate with +existing projects. +@item Maintains type safety between your C++ application and the user scripts. +@item Supports a variety of C++ techniques including callbacks, overloaded +functions, class methods, and stl containers. +@end enumerate\n") + (license license:bsd-3))) + (define-public fifo-map (let* ((commit "0dfbf5dacbb15a32c43f912a7e66a54aae39d0f9") (revision "0") -- 2.20.1