all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: qblade via Guix-patches via <guix-patches@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: "46686@debbugs.gnu.org" <46686@debbugs.gnu.org>
Subject: [bug#46686] 回复: Re: bug#46686: [PATCH] gnu: add libucl
Date: Sun, 07 Mar 2021 03:08:09 +0000	[thread overview]
Message-ID: <6tSVk4Fiug-ZOTbsSW7r2irpw0gLdYAmYwzv20UdrLbGWBXntkODGHfA-mJa92yd9jMwVoVt2OtxiFcsVMKsUYpMzp50FGBXqZ7SYIQmIVc=@protonmail.com> (raw)
In-Reply-To: <87sg58incc.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

Hello, I submitted a new patch, because libucl is currently only used in hikari (I will submit its package definition later) I decided to put it in gnu/packages/wm.scm

hikari's home pager: https://hikari.acmelabs.space/

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-add-libucl.patch --]
[-- Type: text/x-patch; name=0001-gnu-add-libucl.patch, Size: 1854 bytes --]

From f80bb9ea8d4161e351b30b6154d25cbfca8095fd Mon Sep 17 00:00:00 2001
From: qblade <qblade@protonmail.com>
Date: Sun, 7 Mar 2021 02:31:07 +0000
Subject: [PATCH] gnu: add libucl

* gnu/packages/wm.scm (libucl): New variable.
---
 gnu/packages/wm.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 5d2b36f312..90453da1c8 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -42,6 +42,7 @@
 ;; Copyright © 2020 Niklas Eklund <niklas.eklund@posteo.net>
 ;;; Copyright © 2020 Robert Smith <robertsmith@posteo.net>
 ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021 qblade <qblade@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2350,3 +2351,31 @@ shows a notification for the user on the screen.")
 for wayland conceptually based on the X11 window manager
 @command{ratpoison}.")
     (license license:expat)))
+
+(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 parser")
+     (description "libucl is a configuration language
+that is easy to read, write and compatible with JSON.")
+    (license license:bsd-2)))
-- 
2.29.2


  reply	other threads:[~2021-03-07  3:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-21  7:21 [bug#46686] [PATCH] gnu: add libucl qblade via Guix-patches via
2021-03-06 10:32 ` Ludovic Courtès
2021-03-07  3:08   ` qblade via Guix-patches via [this message]
2021-03-17 21:24     ` bug#46686: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='6tSVk4Fiug-ZOTbsSW7r2irpw0gLdYAmYwzv20UdrLbGWBXntkODGHfA-mJa92yd9jMwVoVt2OtxiFcsVMKsUYpMzp50FGBXqZ7SYIQmIVc=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=46686@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=qblade@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.