From: Marius Bakke <mbakke@fastmail.com>
To: guix-devel@gnu.org
Cc: Marius Bakke <mbakke@fastmail.com>
Subject: [PATCH 1/3] gnu: Add dotconf.
Date: Mon, 31 Oct 2016 10:49:26 +0000 [thread overview]
Message-ID: <20161031104928.31856-1-mbakke@fastmail.com> (raw)
* gnu/packages/textutils.scm (dotconf): New variable.
---
gnu/packages/textutils.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 2259a16..db6e5a1 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -459,3 +460,35 @@ categories.")
;; GNU General Public License, (c) by the Free Software Foundation.
;; Guix excludes this file.
(license (list license:gpl3+ license:public-domain))))
+
+(define-public dotconf
+ (package
+ (name "dotconf")
+ (version "1.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/williamh/dotconf/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lsnh0yaw44psmx59hq94cj1932gscp5h8d3cnh05l0svr0cy7kz"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; FIXME maketest.sh does not work.
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'autoreconf
+ (lambda _
+ (zero? (system* "autoreconf" "-vif")))))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)))
+ (home-page "https://github.com/williamh/dotconf")
+ (synopsis "Configuration file parser library")
+ (description
+ "C library for creating and parsing configuration files.")
+ (license (list license:lgpl2.1 ; Main distribution.
+ license:asl1.1)))) ; src/readdir.{c,h}
--
2.10.1
next reply other threads:[~2016-10-31 10:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-31 10:49 Marius Bakke [this message]
2016-10-31 10:49 ` [PATCH 2/3] licenses: Export fdl1.2+ Marius Bakke
2016-10-31 18:06 ` Leo Famulari
2016-10-31 10:49 ` [PATCH 3/3] gnu: Add speech-dispatcher Marius Bakke
2016-10-31 18:15 ` Leo Famulari
2016-11-01 0:06 ` Marius Bakke
2016-10-31 18:04 ` [PATCH 1/3] gnu: Add dotconf Leo Famulari
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=20161031104928.31856-1-mbakke@fastmail.com \
--to=mbakke@fastmail.com \
--cc=guix-devel@gnu.org \
/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.