From patchwork Mon Aug 5 10:44:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Goryachev X-Patchwork-Id: 66760 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6921D27BBEC; Mon, 5 Aug 2024 11:47:34 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DCA7227BBE2 for ; Mon, 5 Aug 2024 11:47:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1savEn-0001B7-4E; Mon, 05 Aug 2024 06:46:49 -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 1savEj-00019k-Qz for guix-patches@gnu.org; Mon, 05 Aug 2024 06:46:46 -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 1savEj-0000UJ-Hu for guix-patches@gnu.org; Mon, 05 Aug 2024 06:46:45 -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=YEEkerZyeT2agWzJU4pWUpEarU4SdiEaeyAbVRmgehk=; b=CyAfGPl4IyIfuzKh/Xg9vm76BrdGSFqJh8qpG7AVqO/NH3yw0zu+MUEGOJ/sxC08zBudJaOmE/04ljD9zNPkZkPQ9uqu9IhSbJuGImcNAK493Y9V98Lx64IH9TaznGWJfWFjZnVKy3fcmJT5ch15QAVAospy2FF+RWkv1IM2wV6r8rNlSwa8fK/T/1/iyep0GShCV+AqbYhwNYllScTstBDNqfnjjizHEJbhSDxjY7wv6sXlQ/rL9HRR/vfVRBf9lZH4FOVBOZWY/WCriA0ARsi/KjkuQOfG7aoQbRFS7BQI02zA4c4dFwSGaKm+/5p8m0SjXEylSVUYtJitS2EUfw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1savF5-0000Hf-Q2 for guix-patches@gnu.org; Mon, 05 Aug 2024 06:47:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72474] [PATCH 13/30] gnu: Add erlang-jiffy. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Aug 2024 10:47:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72474@debbugs.gnu.org Cc: Igor Goryachev , Andrew Tropin Received: via spool by 72474-submit@debbugs.gnu.org id=B72474.1722854794792 (code B ref 72474); Mon, 05 Aug 2024 10:47:07 +0000 Received: (at 72474) by debbugs.gnu.org; 5 Aug 2024 10:46:34 +0000 Received: from localhost ([127.0.0.1]:58037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1savEY-0000Cc-DE for submit@debbugs.gnu.org; Mon, 05 Aug 2024 06:46:34 -0400 Received: from mail.goryachev.org ([178.62.244.128]:39144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1savEN-00009W-7r for 72474@debbugs.gnu.org; Mon, 05 Aug 2024 06:46:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=f9e8Ud4dhBF9zAI DK4cJoOkN1kiFsO4fQCHt51nWC0M=; h=references:in-reply-to:date:subject: cc:to:from; d=goryachev.org; b=U9kglMbSIErpzIg76CA3xAQbhmQqtH5GolGfkTB gAqQJuUCWI9hwUiRyhkun3y4eoR4MhOtaIuJMSWwHzrt1xdgt4z3Mdbce2Ih81n1n99df6 y1lpgwENOMPe9w0uCH1t5OMEgXnvWXXzbhH+b8OeSqQ7P+Jny3KBclNnIq3d3s= Received: by mail.goryachev.org (OpenSMTPD) with ESMTPSA id ebd03247 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 5 Aug 2024 10:45:54 +0000 (UTC) Date: Mon, 5 Aug 2024 13:44:46 +0300 Message-ID: <2d0b55cbd79c60966a79ffef4abbcc022c0338fe.1722851684.git.igor@goryachev.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches X-Patchwork-Original-From: Igor Goryachev via Guix-patches via From: Igor Goryachev Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/erlang-xyz.scm (erlang-jiffy): New variable. Change-Id: I44918d5f1c3ed158cc6c65bad05b684744ebecd9 --- gnu/packages/erlang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm index b3e8d13ad7..81dfe1c5de 100644 --- a/gnu/packages/erlang-xyz.scm +++ b/gnu/packages/erlang-xyz.scm @@ -19,6 +19,7 @@ (define-module (gnu packages erlang-xyz) #:use-module (gnu packages) #:use-module (gnu packages erlang) + #:use-module (gnu packages python) #:use-module (guix build-system rebar) #:use-module (guix download) #:use-module (guix gexp) @@ -62,6 +63,32 @@ (define-public erlang-jose (home-page "https://hex.pm/packages/jose") (license license:expat))) +(define-public erlang-jiffy + (package + (name "erlang-jiffy") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "jiffy" version)) + (sha256 + (base32 "10gkbi48in96bzkv7f2cqw9119krpd40whcsn0yd7fr0lx1bqqdv")))) + (build-system rebar-build-system) + (native-inputs (list erlang-pc + python)) ; for tests + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-environment + (lambda _ + (setenv "HOME" "/tmp") + (setenv "CC" "gcc")))))) + (synopsis "JSON Decoder/Encoder") + (description "This package provides JSON Decoder/Encoder for Erlang.") + (home-page "https://hex.pm/packages/jiffy") + (license license:expat))) + (define-public erlang-p1-utils (package (name "erlang-p1-utils")