From f01920e7f4962896452126928ea45a3b9e31832b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 22 Oct 2025 13:35:45 +0100 Subject: [PATCH] gnu: go-jsonnet: Move to golang-apps. * gnu/packages/golang-xyz.scm (go-jsonnet): Move from here ... * gnu/packages/golang-apps.scm: ... to here. Change-Id: I30065cc6a0ec6da23fa54938717d26b32ccc3085 --- gnu/packages/golang-apps.scm | 34 ++++++++++++++++++++++++++++++++++ gnu/packages/golang-xyz.scm | 33 --------------------------------- 2 files changed, 34 insertions(+), 33 deletions(-) diff --git a/gnu/packages/golang-apps.scm b/gnu/packages/golang-apps.scm index 00cdfaf0e216334ad17b4c8ba373bb9ddde257e2..d261221726e7572c2b125cea6c2a7e7df64f4d0b 100644 --- a/gnu/packages/golang-apps.scm +++ b/gnu/packages/golang-apps.scm @@ -1,4 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 JOULAUD François ;;; Copyright © 2025 Maxim Cournoyer ;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2025 Sharlatan Hellseher @@ -110,6 +111,39 @@ special case for no-op or fake fxevent.Loggers, it ignores implementations that handle none of the event types.") (license license:expat))) +(define-public go-jsonnet + (package + (name "go-jsonnet") + (version "0.21.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/go-jsonnet") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0d05f16qxabfhaj0l3da3x7zl5g8jbvkcyn39bidd2a278sb3p97")))) + (build-system go-build-system) + (arguments + (list + #:install-source? #f + #:import-path "github.com/google/go-jsonnet/cmd/jsonnet" + #:unpack-path "github.com/google/go-jsonnet")) + (native-inputs + (list go-github-com-fatih-color + go-github-com-sergi-go-diff + go-golang-org-x-crypto + go-sigs-k8s-io-yaml)) + (home-page "https://github.com/google/go-jsonnet") + (synopsis "Go implementation of Jsonnet") + (description + "This package provides an implementation of the @url{http://jsonnet.org/, +Jsonnet} data templating language in Go. It is a feature-complete, +production-ready implementation, compatible with the original Jsonnet +C++implementation.") + (license license:asl2.0))) + (define-public godef (package (name "godef") diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 1caa903ba4d413125c29b0f0bcc24595719b360c..1a6aff3c490210aed6701a65b4c7599a74cf2b8a 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -25191,39 +25191,6 @@ correctly."))) (string-append (package-description go-zgo-at-jfmt) " This package provides a command line interface (CLI) tool.")))) -(define-public go-jsonnet - (package - (name "go-jsonnet") - (version "0.21.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/google/go-jsonnet") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0d05f16qxabfhaj0l3da3x7zl5g8jbvkcyn39bidd2a278sb3p97")))) - (build-system go-build-system) - (arguments - (list - #:install-source? #f - #:import-path "github.com/google/go-jsonnet/cmd/jsonnet" - #:unpack-path "github.com/google/go-jsonnet")) - (native-inputs - (list go-github-com-fatih-color - go-github-com-sergi-go-diff - go-golang-org-x-crypto - go-sigs-k8s-io-yaml)) - (home-page "https://github.com/google/go-jsonnet") - (synopsis "Go implementation of Jsonnet") - (description - "This package provides an implementation of the @url{http://jsonnet.org/, -Jsonnet} data templating language in Go. It is a feature-complete, -production-ready implementation, compatible with the original Jsonnet -C++implementation.") - (license license:asl2.0))) - (define-public go-ifacemaker (package/inherit go-github-com-vburenin-ifacemaker (name "go-ifacemaker")