diff options
| author | Sören Tempel <soeren+git@soeren-tempel.net> | 2025-12-01 17:00:26 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-18 23:19:16 +0000 |
| commit | e9c2fb94ad450fa244391c5f01adfa234f2aed07 (patch) | |
| tree | e265069f5cf2716017df1ff55d7ff2f732ddb0c8 | |
| parent | a9e412fc9d3d38bf95e8d9e21c6781b004c82b81 (diff) | |
gnu: Add go-github-com-aymerick-raymond.
* gnu/packages/golang-web.scm (go-github-com-aymerick-raymond): New variable.
Change-Id: I2304c52f824878387994a1e3fe1a9a9c73f642c2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/golang-web.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 4bd636d891..61467cc1a1 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1815,6 +1815,47 @@ the OTEL Go SDK.") (description "This package provides a CSS parser and inliner.") (license license:expat))) +(define-public go-github-com-aymerick-raymond + (package + (name "go-github-com-aymerick-raymond") + (version "2.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aymerick/raymond") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0s5nxzx87a12hcdzhliy1j8albfx2jqddaks4m86yfrcawm6vndn")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/aymerick/raymond" + #:phases + #~(modify-phases %standard-phases + ;; Replace vendored mustache version with the one from 'inputs'. + (add-before 'check 'supply-mustache + (lambda* (#:key inputs import-path #:allow-other-keys) + (let ((mustache (string-append "src/" import-path "/mustache"))) + (delete-file-recursively mustache) + (copy-recursively #$(this-package-input "mustache-specs") + mustache))))))) + (inputs `(("mustache-specs" ,(origin + (method git-fetch) + (uri (git-reference (url + "https://github.com/mustache/spec") + (commit + "83b0721610a4e11832e83df19c73ace3289972b9"))) + (sha256 (base32 + "1g2f6hi04vkxrk53ixzm7yvkg5v8m00dh9nrkh9lxnx8aw824y80")))))) + (propagated-inputs (list go-gopkg-in-yaml-v2)) + (home-page "https://github.com/aymerick/raymond") + (synopsis "Handlebars for Golang") + (description + "This package provides a minimal templating engine for Golang.") + (license license:expat))) + (define-public go-github-com-azure-azure-sdk-for-go-sdk-azcore (package (name "go-github-com-azure-azure-sdk-for-go-sdk-azcore") |
