From patchwork Sun Feb 21 07:21:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: qblade X-Patchwork-Id: 27186 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 2874927BC48; Sun, 21 Feb 2021 13:59:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9428327BC49 for ; Sun, 21 Feb 2021 13:59:17 +0000 (GMT) Received: from localhost ([::1]:60224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDpGW-0003Tj-JJ for patchwork@mira.cbaines.net; Sun, 21 Feb 2021 08:59:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDpGI-0003TJ-A1 for guix-patches@gnu.org; Sun, 21 Feb 2021 08:59:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDpGI-0003TL-2k for guix-patches@gnu.org; Sun, 21 Feb 2021 08:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDpGI-0003lK-13 for guix-patches@gnu.org; Sun, 21 Feb 2021 08:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46686] [PATCH] gnu: add libucl Resent-From: qblade Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Feb 2021 13:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46686 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46686@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.161391588314388 (code B ref -1); Sun, 21 Feb 2021 13:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2021 13:58:03 +0000 Received: from localhost ([127.0.0.1]:53707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDpFJ-0003jw-Vb for submit@debbugs.gnu.org; Sun, 21 Feb 2021 08:58:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:39382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDj3X-0006cv-BS for submit@debbugs.gnu.org; Sun, 21 Feb 2021 02:21:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDj3X-0004F3-5H for guix-patches@gnu.org; Sun, 21 Feb 2021 02:21:27 -0500 Received: from mail-40135.protonmail.ch ([185.70.40.135]:15678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDj3U-0008J3-36 for guix-patches@gnu.org; Sun, 21 Feb 2021 02:21:26 -0500 Date: Sun, 21 Feb 2021 07:21:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1613892078; bh=phVDcQZNUZxPcAxK+rKRO8jadocMPiyTw1vVg0VhOhs=; h=Date:To:From:Reply-To:Subject:From; b=aFf3lIBKrATdFY2w2RgCzO90iTCdkAuGnoJTWLdAe9+l28JteqCtEamOnFBfP0avg 46K+m3rmdMoGHKoFQm4dBpOrfrU82vlL/bGgyaY415M6mqwF8BSpjbALnC48+BuZ73 MP9JqIgt6du6dcNyKPA+dDpxyFqizxV5FzohNbIM= Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.135; envelope-from=qblade@protonmail.com; helo=mail-40135.protonmail.ch 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 21 Feb 2021 08:58:01 -0500 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: qblade X-ACL-Warn: , qblade via Guix-patches X-Patchwork-Original-From: qblade via Guix-patches via From: qblade X-getmail-retrieved-from-mailbox: Patches Empty Message From aae95593f1cfd48c50578bec83927c870afc6bce Mon Sep 17 00:00:00 2001 From: qblade Date: Sun, 21 Feb 2021 06:48:18 +0000 Subject: [PATCH] gnu: add libucl * gnu/packages/config-lang.scm (libucl): New variable. --- gnu/packages/config-lang.scm | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 gnu/packages/config-lang.scm diff --git a/gnu/packages/config-lang.scm b/gnu/packages/config-lang.scm new file mode 100644 index 0000000000..8ef0b1cdb6 --- /dev/null +++ b/gnu/packages/config-lang.scm @@ -0,0 +1,54 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 qblade +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages config-lang) + #:use-module (gnu packages) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages pkg-config) + #:use-module (guix build-system gnu) + #:use-module (guix git-download)) + +(define-public libucl + (package + (name "libucl") + (version "0.8.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vstakhov/libucl/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1h52ldxankyhbbm1qbqz1f2q0j03c1b4mig7343bs3mc6fpm18gf")))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config) + ("libtool" ,libtool))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f)) ;; no tests + (home-page "https://github.com/vstakhov/libucl") + (synopsis "Universal configuration language") + (description "Universal configuration language. +fully compatible with JSON format and is able to parse json files") + (license license:bsd-2))) -- 2.29.2