summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-16 04:16:54 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:04 +0000
commit581edddaeffd49bc4d10c7fc27eaa272b75b9e5f (patch)
tree13e7427d888127322746b9b6e44e592a78bfcc3f /gnu/packages/golang-xyz.scm
parentd1365b4a6b2c3b8b0ea55e6b00cb8dd62551c321 (diff)
gnu: Add go-github-com-warpfork-go-fsx.
* gnu/packages/golang-xyz.scm (go-github-com-warpfork-go-fsx): New variable. Change-Id: Ide9e1ee2123d0644eea182c56d373d6c00a4612b
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8d271839ce..d748d900d6 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -9740,6 +9740,39 @@ encoded values to create the picture in a code with no inherent errors.")
weighted moving averages}.")
(license license:expat)))
+(define-public go-github-com-warpfork-go-fsx
+ (package
+ (name "go-github-com-warpfork-go-fsx")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/warpfork/go-fsx")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1yhh42vp12hnkhlfimcab4a2df2apprnlg3ll75yr2pd0b001p5b"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/warpfork/go-fsx"))
+ (home-page "https://github.com/warpfork/go-fsx")
+ (synopsis "Extended filesystem interface for Golang")
+ (description
+ "This package, @code{fsx}, takes the style of the io/fs package, and
+extends it with more features:
+@itemize
+@item fsx provides the ability to write files (using OpenFile, which is much
+like the os package feature you're already familiar with)
+@item fsx provides the ability to create directories
+@item fsx provides the ability to delete files and directories
+@item fsx provides features for reading symlinks, and creating them
+@end itemize")
+ ;; This library is multiply-licensed under either of Apache 2.0 or MIT or
+ ;; BSD-3-Clause terms.
+ (license (list license:expat license:asl2.0 license:bsd-3))))
+
(define-public go-github-com-whyrusleeping-base32
(package
(name "go-github-com-whyrusleeping-base32")