~ruther/guix-local

a7397e65d35a99ebbd4213e893f96a4be29e95be — Sharlatan Hellseher 9 months ago e1b0981
gnu: Add go-github-com-syndtr-gocapability.

* gnu/packages/golang-xyz.scm (go-github-com-syndtr-gocapability): New variable.

Change-Id: I6527e599277cb1476c1711b2d50c7f7d98b77c6e
1 files changed, 31 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +31 -0
@@ 19639,6 19639,37 @@ Porter2 stemmer}.  It is written completely using finite state machines to do
suffix comparison, rather than the string-based or tree-based approaches.")
    (license license:asl2.0)))

(define-public go-github-com-syndtr-gocapability
  (package
    (name "go-github-com-syndtr-gocapability")
    (version "0.0.0-20200815063812-42c35b437635")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/syndtr/gocapability")
              (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "00zi0k190ydlm9drnafvj9p4cf6axm858wr71pbmq1p3r94iqws4"))))
    (build-system go-build-system)
    (arguments
     (list
      #:skip-build? #t
      #:import-path "github.com/syndtr/gocapability"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'go-generate
            (lambda* (#:key import-path #:allow-other-keys)
              (with-directory-excursion (string-append "src/" import-path
                                                       "/capability/enumgen")
                (invoke "go" "generate" "-v" "-n")))))))
    (home-page "https://github.com/syndtr/gocapability")
    (synopsis "Utilities for manipulating POSIX capabilities in Golang")
    (description
     "This package provides utilities for manipulating POSIX capabilities.")
    (license license:bsd-2)))

(define-public go-github-com-syndtr-goleveldb
  (package
    (name "go-github-com-syndtr-goleveldb")