[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66827] [PATCH 23/67] gnu: go-github-com-tdewolff-parse-v2: Move to
From: |
Sharlatan Hellseher |
Subject: |
[bug#66827] [PATCH 23/67] gnu: go-github-com-tdewolff-parse-v2: Move to (gnu packages golang-web). |
Date: |
Mon, 30 Oct 2023 01:08:37 +0000 |
* gnu/packages/golang.scm (go-github-com-tdewolff-parse-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Id58c54359f1bf55c6fc8178ce142bf985858bb87
---
gnu/packages/golang-web.scm | 38 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 37 ------------------------------------
2 files changed, 38 insertions(+), 37 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d82cac46b9..9e68e96baf 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -509,6 +509,44 @@ (define-public go-github-com-tdewolff-minify-v2
an interface to implement any other minifier.")
(license license:expat)))
+(define-public go-github-com-tdewolff-parse-v2
+ (package
+ (name "go-github-com-tdewolff-parse-v2")
+ (version "2.6.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/parse")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dqki9ima079k9a3l72igmx5dml8qsl9z8rzw8a433f4gjhlv320"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tdewolff/parse/v2"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'regenerate-hash
+ (lambda* (#:key import-path #:allow-other-keys)
+ (for-each
+ (lambda (dir)
+ (with-directory-excursion
+ (format #f "src/~a/~a" import-path dir)
+ (make-file-writable "hash.go")
+ (format #t "Generating `hash.go' for ~a...~%" dir)
+ (invoke "go" "generate")))
+ '("css" "html")))))))
+ (native-inputs
+ (list go-github-com-tdewolff-hasher
+ go-github-com-tdewolff-test))
+ (home-page "https://github.com/tdewolff/parse")
+ (synopsis "Go parsers for web formats")
+ (description
+ "This package contains several lexers and parsers written in Go.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 143487c881..010485c8b9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3436,43 +3436,6 @@ (define-public go-github-com-tdewolff-hasher
@code{string} to @code{uint32} mapper.")
(license license:bsd-3)))
-(define-public go-github-com-tdewolff-parse-v2
- (package
- (name "go-github-com-tdewolff-parse-v2")
- (version "2.6.6")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tdewolff/parse")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1dqki9ima079k9a3l72igmx5dml8qsl9z8rzw8a433f4gjhlv320"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/tdewolff/parse/v2"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'regenerate-hash
- (lambda* (#:key import-path #:allow-other-keys)
- (for-each
- (lambda (dir)
- (with-directory-excursion
- (format #f "src/~a/~a" import-path dir)
- (make-file-writable "hash.go")
- (format #t "Generating `hash.go' for ~a...~%" dir)
- (invoke "go" "generate")))
- '("css" "html")))))))
- (native-inputs
- (list go-github-com-tdewolff-hasher
- go-github-com-tdewolff-test))
- (home-page "https://github.com/tdewolff/parse")
- (synopsis "Go parsers for web formats")
- (description
- "This package contains several lexers and parsers written in Go.")
- (license license:expat)))
-
(define-public go-github-com-tj-docopt
(package
(name "go-github-com-tj-docopt")
--
2.41.0
- [bug#66827] [PATCH 28/67] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web)., (continued)
- [bug#66827] [PATCH 28/67] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 30/67] gnu: go-github-com-coreos-go-oidc: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 33/67] gnu: go-github-com-valyala-fasthttp: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 35/67] gnu: go-github-com-julienschmidt-httprouter: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 14/67] gnu: go-github-com-gorilla-sessions: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 17/67] gnu: go-github-com-jcmturner-dnsutils-v2: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 32/67] gnu: go-github-com-aws-sdk: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 26/67] gnu: go-github-com-google-safehtml: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 10/67] gnu: go-github-com-gorilla-handlers: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 24/67] gnu: go-github-com-gorilla-context: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 23/67] gnu: go-github-com-tdewolff-parse-v2: Move to (gnu packages golang-web).,
Sharlatan Hellseher <=
- [bug#66827] [PATCH 31/67] gnu: go-github-com-coreos-go-oidc-v3: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 11/67] gnu: go-github-com-gorilla-handlers: Remove input labels., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 18/67] gnu: go-github-com-jcmturner-dnsutils-v2: Adjust inputs., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 22/67] gnu: go-github-com-tdewolff-minify-v2: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 25/67] gnu: go-github-com-microcosm-cc-bluemonday: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 29/67] gnu: go-gopkg-in-square-go-jose-v2: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 21/67] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 34/67] gnu: go-github-com-go-chi-chi-v5: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 40/67] gnu: go-github-com-francoispqt-gojay: Adjust inputs., Sharlatan Hellseher, 2023/10/29
- [bug#66827] [PATCH 42/67] gnu: go-github-com-jmespath-go-jmespath: Move to (gnu packages golang-web)., Sharlatan Hellseher, 2023/10/29