summaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-14 23:26:39 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-14 23:33:42 +0100
commit25bbfcf72fa3942e313f058e04e67e3afa421249 (patch)
tree5ae4c219781ce715f33e923c488b59be9ecf510f /gnu/packages/web.scm
parent1343e565442958c900601b4003f30371691cadf4 (diff)
gnu: yq: Don't inherit from go-github-com-mikefarah-yq-v4.
go-github-com-mikefarah-yq-v4 was never used as source Golang library by any packages, this change removes it's definition and keeps just final `yq` command. * gnu/packages/web.scm (yq): Don't inherit from go-github-com-mikefarah-yq-v4 and overtake it's definition. [native-inputs]: Move all here from [propagated-inputs]. (go-github-com-mikefarah-yq-v4): Delete variable. Change-Id: Ia0019441313a79b07c27bf8f28d767fbe75e27e7
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm26
1 files changed, 6 insertions, 20 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 4b89c2cd4fd..137d93c4ea7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5796,15 +5796,15 @@ you'd expect.")
(properties `((lint-hidden-cve . ("CVE-2023-50246"
"CVE-2023-50268"))))))
-(define-public go-github-com-mikefarah-yq-v4
+(define-public yq
(package
- (name "go-github-com-mikefarah-yq-v4")
+ (name "yq")
(version "4.45.4")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/mikefarah/yq")
- (commit (string-append "v" version))))
+ (url "https://github.com/mikefarah/yq")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
@@ -5812,7 +5812,7 @@ you'd expect.")
(build-system go-build-system)
(arguments
(list
- #:skip-build? #t
+ #:install-source? #f
#:import-path "github.com/mikefarah/yq/v4"
#:phases
#~(modify-phases %standard-phases
@@ -5822,7 +5822,7 @@ you'd expect.")
(with-directory-excursion (string-append "src/" import-path)
(for-each make-file-writable
(find-files "./pkg/yqlib/doc" "\\.md"))))))))
- (propagated-inputs
+ (native-inputs
(list go-github-com-a8m-envsubst
go-github-com-alecthomas-participle-v2
go-github-com-alecthomas-repr
@@ -5851,20 +5851,6 @@ processor. It uses @code{jq}-like syntax but works with YAML files as well as
JSON, XML, properties, CSV and TSV.")
(license license:expat)))
-(define-public yq
- (package
- (inherit go-github-com-mikefarah-yq-v4)
- (name "yq")
- (arguments
- (substitute-keyword-arguments
- (package-arguments go-github-com-mikefarah-yq-v4)
- ((#:install-source? _ #t) #f)
- ((#:skip-build? _ #t) #f)
- ((#:tests? _ #t) #f)
- ((#:import-path _) "github.com/mikefarah/yq")))
- (propagated-inputs '())
- (inputs (package-propagated-inputs go-github-com-mikefarah-yq-v4))))
-
(define-public go-github-com-itchyny-gojq
(package
(name "go-github-com-itchyny-gojq")