From 40c01f8dd3b8ab3f093838b1915a50ce74fd56c2 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 26 Sep 2024 11:16:43 +0100 Subject: gnu: go-github-com-tekwizely-go-parsing: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-tekwizely-go-parsing): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. * gnu/packages/task-runners.scm: Swap imported module from golang to golang-xyz. Change-Id: I7a1fab8a1ab457011260ce7dac7a47ecf8f83dd3 --- gnu/packages/golang-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 31 ------------------------------- gnu/packages/task-runners.scm | 2 +- 3 files changed, 35 insertions(+), 32 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e346396088..0aeabccefa 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2021 Ramana Radhakrishnan ;;; Copyright © 2021 Ricardo Wurmus ;;; Copyright © 2021 Sarah Morgensen +;;; Copyright © 2021 Stefan Reichör ;;; Copyright © 2021 raingloom ;;; Copyright © 2021, 2023, 2024 Sharlatan Hellseher ;;; Copyright © 2022 (unmatched-parenthesis @@ -7024,6 +7025,39 @@ calendar dates. It offers a complete implementation of the @url{https://www.ietf.org/rfc/rfc2445.txt,RFC 2445} specification.") (license license:expat))) +;; XXX: Maybe split it into dedicated packages per module to easy importer. +(define-public go-github-com-tekwizely-go-parsing + (package + (name "go-github-com-tekwizely-go-parsing") + (version "0.0.0-20221001173913-aa6d6749ea2d") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tekwizely/go-parsing") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hz4jwvav1ccvigmlxgg50pal3nxklbl0psf7wdzwr1vzmzmj3n3")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/tekwizely/go-parsing")) + (home-page "https://github.com/tekwizely/go-parsing") + (synopsis "Text parsing, with lexers, parsers, and related tools") + (description + "This package provides Go modules focused on text parsing, with lexers, +parsers, and related tools. + +Included modules are: +@itemize +@item github.com/tekwizely/go-parsing +@item github.com/tekwizely/go-parsing/lexer +@item github.com/tekwizely/go-parsing/lexer/token +@item github.com/tekwizely/go-parsing/parser +@end itemize") + (license license:expat))) + (define-public go-github-com-thejerf-suture (package (name "go-github-com-thejerf-suture") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 595e5a4121..9799ce6d6b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6588,37 +6588,6 @@ systems can import this package to enable running programs as services without modifying them.") (license license:zlib))) -(define-public go-github-com-tekwizely-go-parsing - (package - (name "go-github-com-tekwizely-go-parsing") - (version "0.0.0-20221001173913-aa6d6749ea2d") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/tekwizely/go-parsing") - (commit (go-version->git-ref version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0hz4jwvav1ccvigmlxgg50pal3nxklbl0psf7wdzwr1vzmzmj3n3")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/tekwizely/go-parsing")) - (home-page "https://github.com/tekwizely/go-parsing") - (synopsis "Text parsing, with lexers, parsers, and related tools") - (description - "This package provides Go modules focused on text parsing, with lexers, -parsers, and related tools. - -Included modules are: -@itemize -@item github.com/tekwizely/go-parsing -@item github.com/tekwizely/go-parsing/lexer -@item github.com/tekwizely/go-parsing/lexer/token -@item github.com/tekwizely/go-parsing/parser -@end itemize") - (license license:expat))) - (define-public go-github-com-akosmarton-papipes (let ((commit "3c63b4919c769c9c2b2d07e69a98abb0eb47fe64") (revision "0")) diff --git a/gnu/packages/task-runners.scm b/gnu/packages/task-runners.scm index 60a393267b..f06658fd7d 100644 --- a/gnu/packages/task-runners.scm +++ b/gnu/packages/task-runners.scm @@ -25,7 +25,7 @@ #:use-module (guix utils) #:use-module (gnu packages bash) #:use-module (gnu packages compression) - #:use-module (gnu packages golang) + #:use-module (gnu packages golang-xyz) #:use-module (gnu packages mail) #:use-module (guix build-system gnu) #:use-module (guix build-system go)) -- cgit v1.2.3