[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#58261] [PATCH v2 04/13] gnu: Add tinydir.
From: |
David Elsing |
Subject: |
[bug#58261] [PATCH v2 04/13] gnu: Add tinydir. |
Date: |
Fri, 7 Oct 2022 15:21:41 +0000 |
* gnu/packages/cpp.scm (tinydir): New variable.
---
gnu/packages/cpp.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index dca0245df5..e99fdcecd8 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2065,3 +2065,30 @@ (define-public sajson
(description "@code{sajson} is an in-place JSON parser with support for
parsing with only a single memory allocation.")
(license license:expat))))
+
+(define-public tinydir
+ (package
+ (name "tinydir")
+ (version "1.2.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cxong/tinydir")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1nprgdfx4i8wzc1idw6chan4fjfa75b5ll8kghdc0q2278pny259"))
+ (modules '((guix build utils)))
+ (snippet '(delete-file-recursively "tests/cbehave"))))
+ (build-system copy-build-system)
+ (arguments
+ (list
+ ;; TODO: Tests contain a private fork of cbehave and a bundled copy of
rlutil
+ #:install-plan
+ #~'(("tinydir.h" "include/"))))
+ (home-page "https://github.com/cxong/tinydir")
+ (synopsis "C header-only directory and file reader")
+ (description "@code{tinydir} is a header-only C library to portably read
+files and directories.")
+ (license license:bsd-2)))
--
2.37.0
[bug#58261] [PATCH v2 07/13] gnu: Add freesasa., David Elsing, 2022/10/07
[bug#58261] [PATCH v2 10/13] gnu: Add yaehmop-tightbind., David Elsing, 2022/10/07