~ruther/guix-local

84f4ce303dbb4c4d39568d88de4e65a4e59574ce — Sharlatan Hellseher 4 months ago 8e01867
gnu: Add go-modernc-org-ccorpus.

* gnu/packages/golang-web.scm (go-modernc-org-ccorpus): New variable.

Change-Id: I49b0a78bda9528e61010165b56ad8001d4863b18
1 files changed, 27 insertions(+), 0 deletions(-)

M gnu/packages/golang-web.scm
M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +27 -0
@@ 14010,6 14010,33 @@ etc)
              ;; longer maintained since Feb 21, 2024.
              license:asl2.0))))

(define-public go-modernc-org-ccorpus
  (package
    (name "go-modernc-org-ccorpus")
    (version "1.11.6")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://gitlab.com/cznic/ccorpus")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "18d5npw8aw5qzy6qcrlrili2zxvmc2v4kkwjps6c3ayvi7aj7j09"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "modernc.org/ccorpus"))
    (propagated-inputs (list go-modernc-org-httpfs))
    (home-page "https://gitlab.com/cznic/ccorpus")
    (synopsis "Test body of C code for Golang")
    (description
     "This package provides a test corpus of C code as subset of
@code{modernc.org/httpfs}.")
    ;; TODO: assets directory provides a lot of example sources for testing
    ;; taken from other projects, check it covered by the licenses.
    (license license:bsd-3)))

(define-public go-modernc-org-httpfs
  (package
    (name "go-modernc-org-httpfs")