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 ms13.migadu.com with LMTPS id GAd3GeatsGaw+AAAe85BDQ:P1 (envelope-from ) for ; Mon, 05 Aug 2024 10:48:06 +0000 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 GAd3GeatsGaw+AAAe85BDQ (envelope-from ) for ; Mon, 05 Aug 2024 12:48:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JLPLP2NX; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=GPB5+r94; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722854886; h=from:from:sender:sender:reply-to: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=W9AX/sKciPLTQyr+rssmNWd9svPcxE+LxA+8rkyN15w=; b=XXIVVUWNpL1gr8V5echLgqCpzOKVoyqvrNU4aMWJmBkY+hqPPb/dSg7ab8e29Ar7FM7oTY C2qaZJBCy90oKEgwRrpRquDUjeiia8WVil8J3m/T6EH0sIsl49Tcp1BtM/rC/yoVwLyV7R mXEpWCXljQKeMiToBnMs0AhqHdXZWvnj+NLrfWUlNZPvJorPvuhT50bubVvJm3CBOfWbVy JOBwiFADTdYukClEBY4z3tkUVFVipI+QLz7Jc2qDGt7kyBRpncs34hAITtwQHSy/Q1dIbZ fKSOtyVWr4zdXMU0ym++yviXqBcSi5cDX1vLqEd1nJFReblwFWmUyOEtqLh8iA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722854886; a=rsa-sha256; cv=none; b=jtn51QbXQ1xJL7K/WaJKrtsxaixeYr8rO6jbl3e7WzMvggP7NF4HK3Q6Q0pVoKFOx9bmmz DbAtisA+yoqW9FEx2XbyPOehIeajX42HCCISXi6C/yrxhoZrty7aXdCH7rx260XhJjhCf5 kXbkRFad8grI3dbXmBG4ygVknBBoL2plh+tZ7FZgXSANuBLFEiw97mHyYI79VzFnyUdxOI fohrVl5X6PpImEbve4GfrmAcwm95FnS9PfOXOeP5o6bBL7g16qAzMVjijf1iwCjas2CDc0 voS3iyZoLN+E9qtuwj/s5JeqCKweo6C4jeXN+qjV189vQb84T66V9FvBT72IlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JLPLP2NX; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=GPB5+r94; 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" 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 503813CD94 for ; Mon, 05 Aug 2024 12:48:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1savEr-0001FT-Qm; Mon, 05 Aug 2024 06:46:53 -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 1savEl-0001AU-Px for guix-patches@gnu.org; Mon, 05 Aug 2024 06:46:48 -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 1savEl-0000Uk-Gi for guix-patches@gnu.org; Mon, 05 Aug 2024 06:46:47 -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=W9AX/sKciPLTQyr+rssmNWd9svPcxE+LxA+8rkyN15w=; b=JLPLP2NXxqzAwm21NIXoIQGgR7INi3v5+AfOBJ5D9cs+twCZj6zrrvoeOe2CXBKgyohf3uLshMX1LNbaMh4e3qKhUWFw7kvZyE+2rLplQAmcwX4WP6AdiqtFuk1mAdFsHypryUon8oadEVc3FzCCDXA/t5hhRppC4iSL0E4S1R+zzkm2SvuOs8monGpWGDpkFBenL882j399gr91Du0Pza5vj7blklgUC3+DczgTue72qvsWa9onoWtlzR8fadXjkjZ5+2u6zTVOUVNdUoQU1YxZ9oA5lKLIg2lmkKxXb6xENLXcsaxnDV8VCXwMSH88hzSfGtRZcXM8ZYXZaz7v7w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1savF7-0000IA-Ns for guix-patches@gnu.org; Mon, 05 Aug 2024 06:47:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72474] [PATCH 20/30] gnu: Add erlang-fast-yaml. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Aug 2024 10:47:09 +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.1722854796828 (code B ref 72474); Mon, 05 Aug 2024 10:47:09 +0000 Received: (at 72474) by debbugs.gnu.org; 5 Aug 2024 10:46:36 +0000 Received: from localhost ([127.0.0.1]:58045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1savEZ-0000D7-Tq for submit@debbugs.gnu.org; Mon, 05 Aug 2024 06:46:36 -0400 Received: from mail.goryachev.org ([178.62.244.128]:39152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1savER-0000Ah-S7 for 72474@debbugs.gnu.org; Mon, 05 Aug 2024 06:46:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=saUpBs3s4W92t4Z VIv2+6MhIw0IFE2Sn44hWhwPVXNE=; h=references:in-reply-to:date:subject: cc:to:from; d=goryachev.org; b=GPB5+r94EgP5cnR2C+rAvbJoi0zFXlLoy99nLcz Hy1RRBMXrMW7XKZcsgDMKMyDG7h/iD5lHAqzJjFS6nhR4OEEqSYLBBt9Tc3E8UHs+mjC04 /oRQxG2Ea0MGhS4HSYqjPOOwe7RdHfCGGWpTsa4COO6zJo3MmArUtlWY6KlX2M= Received: by mail.goryachev.org (OpenSMTPD) with ESMTPSA id 3c4500ff (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 5 Aug 2024 10:45:58 +0000 (UTC) Date: Mon, 5 Aug 2024 13:44:53 +0300 Message-ID: <04bee75dbd935a8621eacd66e5ce1b99e4e04565.1722851684.git.igor@goryachev.org> X-Mailer: git-send-email 2.45.2 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: , Reply-to: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches From: Igor Goryachev via Guix-patches via 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.44 X-Spam-Score: -3.44 X-Migadu-Queue-Id: 503813CD94 X-Migadu-Scanner: mx11.migadu.com X-TUID: /KZsER6d94zn * gnu/packages/erlang-xyz.scm (erlang-fast-yaml): New variable. Change-Id: I81cb9dab74a81af9f6a901fa2674ac9f77318cd4 --- gnu/packages/erlang-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm index f0d62e1679..7d03590639 100644 --- a/gnu/packages/erlang-xyz.scm +++ b/gnu/packages/erlang-xyz.scm @@ -20,6 +20,7 @@ (define-module (gnu packages erlang-xyz) #:use-module (gnu packages) #:use-module (gnu packages erlang) #:use-module (gnu packages python) + #:use-module (gnu packages serialization) #:use-module (gnu packages tls) #:use-module (guix build-system rebar) #:use-module (guix download) @@ -353,6 +354,36 @@ (define-public erlang-fast-xml (home-page "https://hex.pm/packages/fast_xml") (license license:asl2.0))) +(define-public erlang-fast-yaml + (package + (name "erlang-fast-yaml") + (version "1.0.37") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "fast_yaml" version)) + (sha256 + (base32 "0sd72nal5i6mbmicsmb494mr4g0gvs719lzp2hj1gqpp3dr6is4d")))) + (build-system rebar-build-system) + (inputs (list erlang-p1-utils)) + (native-inputs (list erlang-pc libyaml)) + (arguments + (list + #:tests? #f ; some required files are absent + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-environment + (lambda _ + (setenv "HOME" "/tmp") + (setenv "CC" "gcc") + (let ((openssl (assoc-ref %build-inputs "libyaml"))) + (setenv "LDFLAGS" (string-append "-L" openssl "/lib")) + (setenv "CFLAGS" (string-append "-I" openssl "/include")))))))) + (synopsis "Fast YAML native library for Erlang/Elixir") + (description "This package provides fast YAML native library for Erlang/Elixir.") + (home-page "https://hex.pm/packages/fast_yaml") + (license license:asl2.0))) + (define-public erlang-unicode-util-compat (package (name "erlang-unicode-util-compat") -- 2.45.2