gnu: Add go-modernc-org-ccorpus.

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

Change-Id: I49b0a78bda9528e61010165b56ad8001d4863b18
This commit is contained in:
Sharlatan Hellseher 2025-10-29 07:57:04 +00:00
parent 8e01867a9a
commit 84f4ce303d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")