~ruther/guix-local

ee346c053b80f8706615b08d691e0a438d6289fe — Sharlatan Hellseher 5 months ago 7a0c6b4
gnu: Add go-github-com-moby-sys-symlink.

* gnu/packages/golang-xyz.scm (go-github-com-moby-sys-symlink): New variable.

Change-Id: I6ddb3d60151f70a593815a40ddc440fdd1f9ac43
1 files changed, 34 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +34 -0
@@ 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")