[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: gnu: Add guile-mkdir-p.
From: |
guix-commits |
Subject: |
01/09: gnu: Add guile-mkdir-p. |
Date: |
Mon, 26 Oct 2020 17:58:21 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a8c1eabaf165eb37a1d3a234ccd64603f23396a2
Author: divoplade <d@divoplade.fr>
AuthorDate: Thu Oct 22 01:14:27 2020 +0200
gnu: Add guile-mkdir-p.
* gnu/packages/guile-xyz.scm (guile-mkdir-p): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/guile-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 12ded23..a204d15 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4044,3 +4044,42 @@ itself is an implementation of multicast DNS (mDNS) and
DNS Service
Discovery (DNS-SD).")
(home-page "https://www.nongnu.org/guile-avahi/")
(license license:lgpl3+)))
+
+(define-public guile-mkdir-p
+ (package
+ (name "guile-mkdir-p")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://code.divoplade.fr/mkdir-p.git")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "01k20rjcv6p0spmw8ls776aar6bfw0jxw46d2n12w0cb2p79xjv8"))
+ (file-name (git-file-name name version))
+ (snippet
+ `(begin
+ (with-output-to-file ".tarball-version"
+ (lambda _ (format #t "~a~%" ,version)))
+ #t))))
+ (build-system gnu-build-system)
+ (arguments `())
+ (native-inputs
+ `(("guile" ,guile-3.0)
+ ("texinfo" ,texinfo)
+ ("autoconf" ,autoconf)
+ ("autoconf-archive" ,autoconf-archive)
+ ("automake" ,automake)
+ ("pkg-config" ,pkg-config)
+ ("gettext" ,gnu-gettext)))
+ (inputs `(("guile" ,guile-3.0)))
+ (synopsis "Implementation of a recursive @code{mkdir} for Guile")
+ (description
+ "This package provides within the @code{(mkdir-p)} module the
+@code{mkdir-p} function that tries to create the chain of directories
+recursively. It also provides new versions of @code{open-output-file},
+@code{call-with-output-file} and @code{with-output-to-file} to create the
+directory of its argument if it does not exist.")
+ (home-page "https://mkdir-p.divoplade.fr")
+ (license license:asl2.0)))
- branch master updated (f503cfc -> f161bd2), guix-commits, 2020/10/26
- 02/09: gnu: gdb: Add version 10.1., guix-commits, 2020/10/26
- 04/09: gnu: Add bash-ctypes., guix-commits, 2020/10/26
- 03/09: gnu: mtools: Update to 4.0.25., guix-commits, 2020/10/26
- 01/09: gnu: Add guile-mkdir-p.,
guix-commits <=
- 06/09: gnu: benchmark: Update to 1.5.2, guix-commits, 2020/10/26
- 08/09: gnu: python-robotframework: Shorten patch file name., guix-commits, 2020/10/26
- 05/09: gnu: Use prefix "license:" to import (guix licenses), guix-commits, 2020/10/26
- 07/09: gnu: audiofile: Add 'lint-hidden-cve' property., guix-commits, 2020/10/26
- 09/09: gnu: Remove unused patch., guix-commits, 2020/10/26