guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ee346c053b80f8706615b08d691e0a438d6289fe
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Sep 26 16:15:18 2025 +0100

    gnu: Add go-github-com-moby-sys-symlink.
    
    * gnu/packages/golang-xyz.scm (go-github-com-moby-sys-symlink): New 
variable.
    
    Change-Id: I6ddb3d60151f70a593815a40ddc440fdd1f9ac43
---
 gnu/packages/golang-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index b81e611e3c..667be3d40a 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -14709,6 +14709,40 @@ names.")
 Windows.")
     (license license:asl2.0)))
 
+(define-public go-github-com-moby-sys-symlink
+  (package
+    (name "go-github-com-moby-sys-symlink")
+    (version "0.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/moby/sys";)
+             (commit (go-version->git-ref version
+                                          #:subdir "symlink"))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1i1phx1kk9qa4jf1i1nl23d3f6k9fn2w46274cl76cqw9hjqg868"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/moby/sys/symlink"
+      #:unpack-path "github.com/moby/sys"))
+    (propagated-inputs
+     (list go-golang-org-x-sys))
+    (home-page "https://github.com/moby/sys";)
+    (synopsis "Extension of Golang's @code{path/filepath} library")
+    (description
+     "This package implements @code{FollowSymlinkInScope} which is an
+ extension of @code{path/filepath.EvalSymlinks}, as well as a Windows
+long-path aware version of @code{path/filepath.EvalSymlinks} from the Go
+standard library.")
+    ;; The code from [path/filepath.EvalSymlinks] has been adapted in fs.go.
+    ;; Read the [LICENSE.BSD] file that governs fs.go and [LICENSE.APACHE] for
+    ;; fs_unix_test.go.
+    (license (list license:asl2.0
+                   license:bsd-3))))
+
 (define-public go-github-com-moby-sys-user
   (package
     (name "go-github-com-moby-sys-user")

Reply via email to