guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 84f4ce303dbb4c4d39568d88de4e65a4e59574ce
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Oct 29 07:57:04 2025 +0000

    gnu: Add go-modernc-org-ccorpus.
    
    * gnu/packages/golang-web.scm (go-modernc-org-ccorpus): New variable.
    
    Change-Id: I49b0a78bda9528e61010165b56ad8001d4863b18
---
 gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c3e13aee59..94b393d3c5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -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")

Reply via email to