From 8448f2090972c5c00ff0a72babc775205cd7a095 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 8 Jan 2025 19:07:23 +0000 Subject: [PATCH] gnu: gron: Move to golang-web. * gnu/packages/golang.scm (gron): Move from here ... * gnu/packages/golang-web.scm: ... to here. Change-Id: Ib657465e9603c96e285f4658b38b5c0c37535756 --- gnu/packages/golang-web.scm | 31 +++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 31 ------------------------------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 02bd307acd..ac3f885e75 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -8580,6 +8580,37 @@ go-github-com-multiformats-go-multiaddr-dns."))) (description "This package provides a CLI binary executible built from go-github-com-tdewolff-minify-v2 source."))) +(define-public gron + (package + (name "gron") + (version "0.7.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tomnomnom/gron") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1sj34b6yv0qigy3aq7qmwf8bqxp1a8qh9p10lzkpw58s1c0iyh36")))) + (build-system go-build-system) + (arguments + (list + #:install-source? #f + #:import-path "github.com/tomnomnom/gron")) + (native-inputs + (list go-github-com-fatih-color + go-github-com-mattn-go-colorable + go-github-com-nwidger-jsoncolor + go-github-com-pkg-errors)) + (home-page "https://github.com/tomnomnom/gron") + (synopsis "Transform JSON to make it easier to grep") + (description + "This package transforms JSON into discrete assignments to make it easier +to use line-based tools such as grep to search for what you want and see the +absolute \"path\" to it.") + (license license:expat))) + (define-public xurls (package (inherit go-mvdan-cc-xurls-v2) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 19e1bd4df9..e7791f996f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2229,37 +2229,6 @@ developed by the Go team. It provides IDE features to any LSP-compatible editor.") (license license:bsd-3))) -(define-public gron - (package - (name "gron") - (version "0.7.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/tomnomnom/gron") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1sj34b6yv0qigy3aq7qmwf8bqxp1a8qh9p10lzkpw58s1c0iyh36")))) - (build-system go-build-system) - (arguments - (list - #:install-source? #f - #:import-path "github.com/tomnomnom/gron")) - (native-inputs - (list go-github-com-fatih-color - go-github-com-mattn-go-colorable - go-github-com-nwidger-jsoncolor - go-github-com-pkg-errors)) - (home-page "https://github.com/tomnomnom/gron") - (synopsis "Transform JSON to make it easier to grep") - (description - "This package transforms JSON into discrete assignments to make it easier -to use line-based tools such as grep to search for what you want and see the -absolute \"path\" to it.") - (license license:expat))) - (define-public go-github-com-google-cadvisor (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd") (revision "0"))