From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id fwm0OLI/qmKlYAAAbAwnHQ (envelope-from ) for ; Wed, 15 Jun 2022 22:23:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SD50N7I/qmLREQAAauVa8A (envelope-from ) for ; Wed, 15 Jun 2022 22:23:14 +0200 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 516D32A903 for ; Wed, 15 Jun 2022 22:23:14 +0200 (CEST) Received: from localhost ([::1]:55724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1ZXl-0006Hy-84 for larch@yhetil.org; Wed, 15 Jun 2022 16:23:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1ZXb-0006Hj-Sd for guix-patches@gnu.org; Wed, 15 Jun 2022 16:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1ZXZ-0004xg-O0 for guix-patches@gnu.org; Wed, 15 Jun 2022 16:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1ZXZ-0000Nh-L3 for guix-patches@gnu.org; Wed, 15 Jun 2022 16:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56000] [PATCH] gnu: Add python-jsonnet. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Jun 2022 20:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56000 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56000@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16553245501416 (code B ref -1); Wed, 15 Jun 2022 20:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jun 2022 20:22:30 +0000 Received: from localhost ([127.0.0.1]:39905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1ZX4-0000Mm-7v for submit@debbugs.gnu.org; Wed, 15 Jun 2022 16:22:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:34984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1ZX0-0000MZ-Jw for submit@debbugs.gnu.org; Wed, 15 Jun 2022 16:22:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1ZWz-0006Gt-7b for guix-patches@gnu.org; Wed, 15 Jun 2022 16:22:26 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:42720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1o1ZWx-0004vV-Dn for guix-patches@gnu.org; Wed, 15 Jun 2022 16:22:24 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4LNcDC0KF5z9sRL for ; Wed, 15 Jun 2022 22:22:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1655324539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AsWoBg8J6xghyhEqXNowdCggqdrcTnPdOU1OL/TEpso=; b=G22RB4VD82VRyh8SfoeS8BzXt6n4MX6Dy37EOAMnq/m3NRILhtRgkm581WYmPhmTVoNMfQ WzrQeXdCYpWMOrmlTdcUxiYAOPCHn6oGoY0HMehUpI8yHsvbr/Ul2ayTwMWQEOqqzFzWHN IjkIuOwI3dCpvF6x1kutoxPo6qMarFoRZ0rxb9Y2an7VGevpNgqrBBypdJCAd7i+hmQDLw 8kb2s6eHMr6nelJVFfxvNQC+sW97O0Ecugap7XYhFTiHqA3b7iqihjU42hGQfPeD3FzaWm OJyt88e1GcmbwaQCYFstnyOZVkuJm3FmNUsd0Mrov7gNdcKqvEJptnaRoo626A== Date: Wed, 15 Jun 2022 20:22:13 +0000 Message-Id: <20220615202213.12173-1-antero@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-RS-META: dthr5akdjw6zqto4scpxkh8b5ekysgsh X-MBO-RS-ID: 6656692115746d4205a Received-SPF: pass client-ip=80.241.56.161; envelope-from=antero@mailbox.org; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655324594; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=AsWoBg8J6xghyhEqXNowdCggqdrcTnPdOU1OL/TEpso=; b=juCTWokLKvAUS2yil/NMYRfKB+E3i7RcCAxws6TvIo01ykePG99h8zzrsAUUCoXpIdHT8S GWghaYAx+/Z7eW7jqkdHLeqiSbuhbC1DOEtBJuUBML2i1msrqS3CzuHO8SlF0EDF1+Jx2u j6WwxIL4MW8F2YCAG2gq5m267b3/Dl66LvK34vkHGar/sgd1P5P2Q4dsQ/1MAdUPKX8GEa prqAveUSRm2w1twiKVZ6nJc/YpRzKPHP9Z+vDm6Hsr6RrwBRiPYv0Hhd0nAwTAq5CNsApq k0KgKr5x1MLmkH3cjTEzFEIUKF/8XaWIDMhGct1AuRdTMHwcdSZwE5EfpoD7Og== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655324594; a=rsa-sha256; cv=none; b=Tr9u0CHXuzW/6DTyg5RH3Dg5dgESVYWSFYge65B74kxDC/wgxEQAUzkismMAQooYqZi3tv i2tCn0JXhJ6YV6xzzd72rTpdB2gnn8OHw5MXrqnouhEvv4psGkkj2Bj3W81ELHhdIL+Spc nVuN9uEmAxbuuNA5GJMpKxBszcEBymlY+tyTvq4Kh3e1HggbgBaUX4sG8KRzpVyDgipgI7 +kO9eD4JLg+SC0hcWv44Mn+obHTZiwh52s6lYGtlW35Dwl+cr4BRjhsWJsd/XbdsIwvqOO vSRb/BfIjU1oBV5xUEEXUfMTJWkl2Pk7XfdzVGZcLvjSh2rTY8XlohVnohuGUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=G22RB4VD; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -4.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=G22RB4VD; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 516D32A903 X-Spam-Score: -4.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: BD+CwlyQewPR Tested both public functions, evaluate_file() and evaluate_snippet(). * gnu/packages/cpp.scm (python-jsonnet): New variable. --- gnu/packages/cpp.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 78e4f3bd8e..4ab9f33ae7 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2022 muradm ;;; Copyright © 2022 Attila Lendvai ;;; Copyright © 2022 Arun Isaac +;;; Copyright © 2022 Antero Mejr ;;; ;;; This file is part of GNU Guix. ;;; @@ -1724,6 +1725,16 @@ (define-public jsonnet syntax with variables, conditions, functions and more.") (license license:asl2.0))) +(define-public python-jsonnet + (package + (inherit jsonnet) + (name "python-jsonnet") + (build-system python-build-system) + (arguments '()) + (synopsis "Python bindings for Jsonnet, the data templating language") + (description "This package provides a Python library named @code{_jsonnet} +which can evaluate Jsonnet files and expressions."))) + (define-public simdjson (package (name "simdjson") -- 2.36.1