[PATCH v1 00/10] gnu: Add micro.

  • Done
  • quality assurance status badge
Details
2 participants
  • Ashvith Shetty
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Ashvith Shetty
Severity
normal

Debbugs page

Ashvith Shetty wrote 1 months ago
(address . guix-patches@gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250213175945.30918-1-ashvithshetty0010@zohomail.in
This patch series adds micro and it's dependencies.

Ashvith Shetty (10):
gnu: Add go-github-com-zyedidia-clipper.
gnu: Add go-github-com-zyedidia-glob.
gnu: Add go-github-com-zyedidia-poller.
gnu: Add go-github-com-zyedidia-tcell-v2.
gnu: Add go-github-com-layeh-gopher-luar.
gnu: Add go-github-com-zyedidia-go-runewidth.
gnu: Add go-github-com-zyedidia-go-shellquote.
gnu: Add go-github-com-zyedidia-terminal.
gnu: Add go-github-com-zyedidia-json5.
gnu: Add micro.

gnu/packages/golang-xyz.scm | 248 ++++++++++++++++++++++++++++++++++
gnu/packages/text-editors.scm | 49 +++++++
2 files changed, 297 insertions(+)

--
2.48.1
Ashvith Shetty wrote 1 months ago
[PATCH v1 01/10] gnu: Add go-github-com-zyedidia-clipper.
(address . 76273@debbugs.gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(name . Ashvith Shetty)(address . ashvithshetty10@gmail.com)
20250214045910.4132-1-ashvithshetty0010@zohomail.in
From: Ashvith Shetty <ashvithshetty10@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-clipper): New variable.

Change-Id: Ia3eb2a28f5ef006b54e2698b3ebb66b75a05fb4f
---
gnu/packages/golang-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)

Toggle diff (58 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 2af3339197..cef42b0ef4 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -56,6 +56,7 @@
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
+;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -17788,6 +17789,43 @@ (define-public misspell
#:import-path "github.com/client9/misspell/cmd/misspell"
#:unpack-path "github.com/client9/misspell"))))
+(define-public go-github-com-zyedidia-clipper
+ (package
+ (name "go-github-com-zyedidia-clipper")
+ (version "0.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/clipper")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18fv2cdll1d7d5wxs6r7kkhmk60pziiw3iy7knmdbcbhrk9rg112"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/clipper"))
+ (home-page "https://github.com/zyedidia/clipper")
+ (synopsis "Clipper: cross-platform clipboard library")
+ (description
+ "Platforms supported:
+@itemize
+@item Linux (via xclip or xsel or wl-copy/wl-paste)
+@item MacOS (via pbcopy/pbpaste)
+@item Windows (via the Windows clipboard API)
+@item WSL (via clip.exe/powershell.exe)
+@item Android Termux (via termux-clipboard-set/termux-clipboard-get)
+@item Plan9 (via /dev/snarf)
+@item Anything else (via a user-defined script)
+@end itemize
+Fallback methods:
+@itemize
+@item Internal in-memory clipboard
+@item File-based clipboard
+@end itemize")
+ (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
--
2.48.1
Ashvith Shetty wrote 1 months ago
[PATCH v1 02/10] gnu: Add go-github-com-zyedidia-glob.
(address . 76273@debbugs.gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(name . Ashvith Shetty)(address . ashvithshetty10@gmail.com)
20250214045910.4132-2-ashvithshetty0010@zohomail.in
From: Ashvith Shetty <ashvithshetty10@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-glob): New variable.

Change-Id: I0a067f0b49bbbc61952c6d8fe67db55dc33d6ce8
---
gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index cef42b0ef4..0b357b7750 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17826,6 +17826,29 @@ (define-public go-github-com-zyedidia-clipper
@end itemize")
(license license:expat)))
+(define-public go-github-com-zyedidia-glob
+ (package
+ (name "go-github-com-zyedidia-glob")
+ (version "0.0.0-20170209203856-dd4023a66dc3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/glob")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1vqw4xbqq6j8p5m7mwxvb448w69vjvgzx0ndsfzdh2cxfirwp3y7"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/glob"))
+ (home-page "https://github.com/zyedidia/glob")
+ (synopsis "A Go package for glob matching")
+ (description
+ "Package glob provides objects for matching strings with globs.")
+ (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
--
2.48.1
Ashvith Shetty wrote 1 months ago
[PATCH v1 03/10] gnu: Add go-github-com-zyedidia-poller.
(address . 76273@debbugs.gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(name . Ashvith Shetty)(address . ashvithshetty10@gmail.com)
20250214045910.4132-3-ashvithshetty0010@zohomail.in
From: Ashvith Shetty <ashvithshetty10@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-poller): New variable.

Change-Id: I3647d3c36d5b0b61e7dd24d0afbff6b054ff1dd9
---
gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0b357b7750..ac37bc4135 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17849,6 +17849,38 @@ (define-public go-github-com-zyedidia-glob
"Package glob provides objects for matching strings with globs.")
(license license:expat)))
+(define-public go-github-com-zyedidia-poller
+ (package
+ (name "go-github-com-zyedidia-poller")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/poller")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10cjrqfk1j0l55bdbpm7kv4mqc665pngc8avai0p9chq03y2654g"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/poller"))
+ (home-page "https://github.com/zyedidia/poller")
+ (synopsis "An epoll(7)-based file-descriptor multiplexer.")
+ (description
+ "Package poller is a file-descriptor multiplexer. It allows concurent Read and
+Write operations from and to multiple file-descriptors without allocating one OS
+thread for every blocked operation. It operates similarly to Go's netpoller
+(which multiplexes network connections) without requiring special support from
+the Go runtime. It can be used with tty devices, character devices, pipes,
+FIFOs, and any file-descriptor that is poll-able (can be used with select(2),
+epoll(7), etc.) In addition, package poller allows the user to set timeouts
+(deadlines) for read and write operations, and also allows for safe cancelation
+of blocked read and write operations; a Close from another go-routine safely
+cancels ongoing (blocked) read and write operations.")
+ (license license:bsd-2)))
+
;;;
;;; 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
--
2.48.1
Ashvith Shetty wrote 1 months ago
[PATCH v1 04/10] gnu: Add go-github-com-zyedidia-tcell-v2.
(address . 76273@debbugs.gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(name . Ashvith Shetty)(address . ashvithshetty10@gmail.com)
20250214045910.4132-4-ashvithshetty0010@zohomail.in
From: Ashvith Shetty <ashvithshetty10@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-tcell-v2): New variable.

Change-Id: I2b285c6cd06f86a5b072c1cf64e7937adc74d8b9
---
gnu/packages/golang-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index ac37bc4135..0796669fdd 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17849,6 +17849,39 @@ (define-public go-github-com-zyedidia-glob
"Package glob provides objects for matching strings with globs.")
(license license:expat)))
+(define-public go-github-com-zyedidia-tcell-v2
+ (package
+ (name "go-github-com-zyedidia-tcell-v2")
+ (version "2.0.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/tcell")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rbivmy79sc8hnygj7b3axhiqgbx6xc4f28pz69nhq9w2skk3zb9"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/tcell/v2"
+ #:unpack-path "github.com/zyedidia/tcell/v2"))
+ (propagated-inputs (list go-golang-org-x-text
+ go-golang-org-x-sys
+ go-github-com-zyedidia-poller
+ go-github-com-xo-terminfo
+ go-github-com-mattn-go-runewidth
+ go-github-com-lucasb-eyer-go-colorful
+ go-github-com-gdamore-encoding))
+ (home-page "https://github.com/zyedidia/tcell")
+ (synopsis "Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.")
+ (description
+ "Package tcell provides a lower-level, portable API for building programs that
+interact with terminals or consoles. It works with both common (and many
+uncommon!) terminals or terminal emulators, and Windows console implementations.")
+ (license license:asl2.0)))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 1 months ago
[PATCH v1 05/10] gnu: Add go-github-com-layeh-gopher-luar.
(address . 76273@debbugs.gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(name . Ashvith Shetty)(address . ashvithshetty10@gmail.com)
20250214045910.4132-5-ashvithshetty0010@zohomail.in
From: Ashvith Shetty <ashvithshetty10@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-layeh-gopher-luar): New variable.

Change-Id: Id7ab88f5d2b3db415fb06d201828c4012520e6b8
---
gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0796669fdd..c76233d06a 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17849,6 +17849,30 @@ (define-public go-github-com-zyedidia-glob
"Package glob provides objects for matching strings with globs.")
(license license:expat)))
+(define-public go-github-com-layeh-gopher-luar
+ (package
+ (name "go-github-com-layeh-gopher-luar")
+ (version "1.0.11")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/layeh/gopher-luar")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zfafqy2jwjmrr0gl3h2ivn0iixb0bvslcwcly9bcmc5yxq35m89"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "layeh.com/gopher-luar"))
+ (propagated-inputs (list go-github-com-yuin-gopher-lua))
+ (home-page "https://github.com/layeh/gopher-luar")
+ (synopsis "Simplifies data passing to and from gopher-lua")
+ (description
+ "Package luar simplifies data passing to and from gopher-lua.")
+ (license license:mpl2.0)))
+
(define-public go-github-com-zyedidia-tcell-v2
(package
(name "go-github-com-zyedidia-tcell-v2")
--
2.48.1
Ashvith Shetty wrote 1 months ago
[PATCH v1 06/10] gnu: Add go-github-com-zyedidia-go-runewidth.
(address . 76273@debbugs.gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(name . Ashvith Shetty)(address . ashvithshetty10@gmail.com)
20250214045910.4132-6-ashvithshetty0010@zohomail.in
From: Ashvith Shetty <ashvithshetty10@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-go-runewidth): New variable.

Change-Id: I1598551b5ed6aeaacbcc944b97d278810e4dfdd3
---
gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c76233d06a..c6fa76c87c 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17849,6 +17849,31 @@ (define-public go-github-com-zyedidia-glob
"Package glob provides objects for matching strings with globs.")
(license license:expat)))
+(define-public go-github-com-zyedidia-go-runewidth
+ (package
+ (name "go-github-com-zyedidia-go-runewidth")
+ (version "0.0.12")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/go-runewidth")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18gv5fkd69v8bwngj6r5zc572vyd1qhafz1wi3d7ynz3w0mmq85c"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/mattn/go-runewidth"
+ #:unpack-path "github.com/mattn/go-runewidth"))
+ (propagated-inputs (list go-github-com-rivo-uniseg))
+ (home-page "https://github.com/zyedidia/go-runewidth")
+ (synopsis "wcwidth for golang")
+ (description
+ "This package provides functions to get fixed width of the character or string.")
+ (license license:expat)))
+
(define-public go-github-com-layeh-gopher-luar
(package
(name "go-github-com-layeh-gopher-luar")
--
2.48.1
Ashvith Shetty wrote 1 months ago
[PATCH v1 07/10] gnu: Add go-github-com-zyedidia-go-shellquote.
(address . 76273@debbugs.gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(name . Ashvith Shetty)(address . ashvithshetty10@gmail.com)
20250214045910.4132-7-ashvithshetty0010@zohomail.in
From: Ashvith Shetty <ashvithshetty10@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-go-shellquote): New variable.

Change-Id: Ib6f07b1bbd35d36598398de2e04baf25f0538a8f
---
gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c6fa76c87c..93c91293cd 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17849,6 +17849,31 @@ (define-public go-github-com-zyedidia-glob
"Package glob provides objects for matching strings with globs.")
(license license:expat)))
+(define-public go-github-com-zyedidia-go-shellquote
+ (package
+ (name "go-github-com-zyedidia-go-shellquote")
+ (version "0.0.0-20200613203517-eccd813c0655")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/go-shellquote")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jxjj60kicpzc6i7vigg0i8iwnhf6jawcalq201a5wkxnkmdlw9g"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/kballard/go-shellquote"
+ #:unpack-path "github.com/kballard/go-shellquote"))
+ (home-page "https://github.com/zyedidia/go-shellquote")
+ (synopsis "Go utilities for performing shell-like word splitting/joining")
+ (description
+ "Shellquote provides utilities for joining/splitting strings using sh's
+word-splitting rules.")
+ (license license:expat)))
+
(define-public go-github-com-zyedidia-go-runewidth
(package
(name "go-github-com-zyedidia-go-runewidth")
--
2.48.1
Ashvith Shetty wrote 1 months ago
[PATCH v1 08/10] gnu: Add go-github-com-zyedidia-terminal.
(address . 76273@debbugs.gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(name . Ashvith Shetty)(address . ashvithshetty10@gmail.com)
20250214045910.4132-8-ashvithshetty0010@zohomail.in
From: Ashvith Shetty <ashvithshetty10@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-terminal): New variable.

Change-Id: I05131f4d1c91aace4eed547dfa86d1b33e83bf45
---
gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 93c91293cd..56b62570c8 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17849,6 +17849,32 @@ (define-public go-github-com-zyedidia-glob
"Package glob provides objects for matching strings with globs.")
(license license:expat)))
+(define-public go-github-com-zyedidia-terminal
+ (package
+ (name "go-github-com-zyedidia-terminal")
+ (version "0.0.0-20230315200948-4b3bcf6dddef")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/terminal")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lqplkpllv63msf7sp8igrhvkrnr8l8hz4v5daliyn4qwvgs3k63"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/terminal"))
+ (propagated-inputs (list go-github-com-creack-pty))
+ (home-page "https://github.com/zyedidia/terminal")
+ (synopsis "Package terminal is a vt10x terminal emulation backend.")
+ (description
+ "Package terminal is a vt10x terminal emulation backend, influenced largely by
+@code{st}, @code{rxvt}, @code{xterm}, and @code{iTerm} as reference. Use it for terminal muxing, a
+terminal emulation frontend, or wherever else you need terminal emulation.")
+ (license license:expat)))
+
(define-public go-github-com-zyedidia-go-shellquote
(package
(name "go-github-com-zyedidia-go-shellquote")
--
2.48.1
Ashvith Shetty wrote 1 months ago
[PATCH v1 09/10] gnu: Add go-github-com-zyedidia-json5.
(address . 76273@debbugs.gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(name . Ashvith Shetty)(address . ashvithshetty10@gmail.com)
20250214045910.4132-9-ashvithshetty0010@zohomail.in
From: Ashvith Shetty <ashvithshetty10@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-json5): New variable.

Change-Id: I627ade8c26ec57a564ccde31dab20bd9fe5533ba
---
gnu/packages/golang-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 56b62570c8..3c72c4718f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17849,6 +17849,28 @@ (define-public go-github-com-zyedidia-glob
"Package glob provides objects for matching strings with globs.")
(license license:expat)))
+(define-public go-github-com-zyedidia-json5
+ (package
+ (name "go-github-com-zyedidia-json5")
+ (version "0.0.0-20200102012142-2da050b1a98d")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/json5")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1sgydazf3npr788b4w17ydmlh3fd1zmpriv9b69967ww90ckh2kz"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/json5"))
+ (home-page "https://github.com/zyedidia/json5")
+ (synopsis "Go JSON5 decoder package based on encoding/json")
+ (description "Package json5 implements decoding of JSON5 values.")
+ (license (list license:bsd-3 license:expat))))
+
(define-public go-github-com-zyedidia-terminal
(package
(name "go-github-com-zyedidia-terminal")
--
2.48.1
Ashvith Shetty wrote 1 months ago
[PATCH v1 10/10] gnu: Add micro.
(address . 76273@debbugs.gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(name . Ashvith Shetty)(address . ashvithshetty10@gmail.com)
20250214045910.4132-10-ashvithshetty0010@zohomail.in
From: Ashvith Shetty <ashvithshetty10@gmail.com>

* gnu/packages/text-editors.scm (micro): New variable.

Change-Id: I7dd8d7deffb5f1235f48759e73a15784570e782c
---
gnu/packages/text-editors.scm | 49 +++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)

Toggle diff (80 lines)
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index f52bc092f1..6e48c0641b 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -35,6 +35,7 @@
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;; Copyright © 2024 Spencer King <spencer.king@wustl.edu>
;;; Copyright © 2024 Murilo <murilo@disroot.org>
+;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -61,6 +62,7 @@ (define-module (gnu packages text-editors)
#:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
@@ -90,6 +92,9 @@ (define-module (gnu packages text-editors)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages golang-build)
+ #:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-xyz)
#:use-module (gnu packages graphics)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
@@ -1843,3 +1848,47 @@ (define-public xnedit
"XNEdit is a fast and classic X11 text editor, based on NEdit,
with full unicode support and antialiased text rendering.")
(license license:gpl2+)))
+
+(define-public micro
+ (package
+ (name "micro")
+ (version "2.0.14")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/micro")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1pcfsaq7k6q59vh3xgh8gy350apkv5rkc09d4fh15lx7m6bxbwka"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:install-source? #f
+ #:import-path "github.com/zyedidia/micro/v2/cmd/micro"
+ #:unpack-path "github.com/zyedidia/micro/v2"))
+ (inputs (list go-github-com-layeh-gopher-luar
+ go-github-com-zyedidia-go-runewidth
+ go-github-com-zyedidia-go-shellquote
+ go-gopkg-in-yaml-v2
+ go-golang-org-x-text
+ go-github-com-zyedidia-tcell-v2
+ go-github-com-zyedidia-terminal
+ go-github-com-zyedidia-json5
+ go-github-com-zyedidia-glob
+ go-github-com-zyedidia-clipper
+ go-github-com-yuin-gopher-lua
+ go-github-com-stretchr-testify
+ go-github-com-sergi-go-diff
+ go-github-com-mitchellh-go-homedir
+ go-github-com-mattn-go-isatty
+ go-github-com-go-errors-errors
+ go-github-com-dustin-go-humanize
+ go-github-com-blang-semver))
+ (home-page "https://github.com/zyedidia/micro")
+ (synopsis "A modern and intuitive terminal-based text editor")
+ (description
+ "@@strong{micro} is a terminal-based text editor that aims to be easy to use and
+intuitive, while also taking advantage of the capabilities of modern terminals.")
+ (license license:expat)))
--
2.48.1
Sharlatan Hellseher wrote 1 months ago
[PATCH v1 00/10] gnu: Add micro.
(address . 76273@debbugs.gnu.org)
87ed00uddm.fsf@gmail.com
Hi,

Thank you for the patches.

They look like raw outputs from guix import, did you try to build micro
in the end?

Depending on your time
- Try to import with -i flag
-i, --insert insert packages into file alphabetically
e.g.
guix import -i gnu/packages/golang-xyz.scm go github.com/zyedidia/json5

It helps to keep packages in alphabetical order.

- After import visually check the validity of the package; the importer
is not perfect and heavenly depends on the upstream metadata and it's
quality.

e.g.
- guix lint <package> after import and resolve warnings
- guix build <package> and resolve test/buld faileurs
- read produced synosis and description, make sure they are human
readable and descriptive eneough to understand what this package
for

Toggle snippet (9 lines)
+ (synopsis "An ...

+ (synopsis "A ...

+ (synopsis "An epoll(7)-based file-descriptor multiplexer.")
+ (synopsis "A modern and intuitive terminal-based text editor")

+ (synopsis "wcwidth for golang")
This part usually highlighted by guix lint, please check e.g. synopsis
does not start with article, does not end with full stop (.), starts
with a capital letter.

Toggle snippet (4 lines)
+ (description
+ "Package glob provides objects for matching strings with globs.")
+ (license license:expat)))
Try to refer to upstream and extract as much information as possible,
description might need more details. Check Guix packaging guidelines:

Toggle snippet (11 lines)
+ (list
+ #:import-path "github.com/zyedidia/tcell/v2"
+ #:unpack-path "github.com/zyedidia/tcell/v2"))

+ (list
+ #:import-path "github.com/mattn/go-runewidth"
+ #:unpack-path "github.com/mattn/go-runewidth"))

+ #:import-path "github.com/kballard/go-shellquote"
+ #:unpack-path "github.com/kballard/go-shellquote"))
It might be an issue with current implementation of importer. The
package name, variable name and import-path are usually follow the same
style e.g. the module path specifying in go.mod and import-path is
usually enough, check for more example in any golang-* modules.

Toggle snippet (2 lines)
+ "@@strong{micro}
It looks like a glitch in importer any @@ needs to be adjusted to a
single one @.

Toggle snippet (5 lines)
+ (list
+ #:install-source? #f
+ #:import-path "github.com/zyedidia/micro/v2/cmd/micro"
+ #:unpack-path "github.com/zyedidia/micro/v2"))
If it's a final command you may simplify it just by providing
import-path without "v2" and omit unpack-path e.g.

#:import-path "github.com/zyedidia/micro/cmd/micro"

Looking forward for v2!

--
Oleg
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmevAcUACgkQdtcnv/Ys
0rX4hQ/+LpsAxzd2YvpH29V+DlZj2JRntfOwcW/VZAGXI9xT2R9KdP4En+WNtA8z
oLGnkPVqpwIx4KJsYaNEOu0Kkr1jPewY7Z5ZGPMZBQQb6pzg/muerR6c9nLNd72V
hLJDqem0T2zUF2+a/rL5/2y1Ylxw8ds86hHYY5R3U4heLOO0AR1GLbqfGZsPV75b
0cuFhrgBnRHccS6+USv53XcgnIjaEu8wQmQ8RTerrVEMVcIGThruKBGuwCatAawE
RqhSnqozxwT7cSbUtsDxj4/6FxuPrLNENP9b283u9NRyFYpae2BlnNajUzyV21G0
wb0a5Qq8ozHNODulp9KYCCYIfU4P3jzlMKC3NFyA98mLqBvcQKtsYvIhaX89OGjC
kcDW3PxNFhu2tRHh46KvbZ/xNhYlWx4/WpR21FGNZWsDPGNXNb7Bi1Y/5RcNrTcV
HGscztvdjItGVGoDjQHpXeFIv+rm/9bGDkxLBNXJP/UBz+GpPulegzBPSaNVl1+9
/B2y7/NZZHZgADMNd80EFH0qvDwySPozqlTVaXfPBDvg8xQQd76PxI9oxm5a/cKO
bn2bgDIYLfugW+O8k2Pw8XUpkRiBHH1GUFyHDGEJrl5hZiyX5V4Yz3crN/Q3jTSb
w+wq/15aOq5s+3pYuZoj+8jkdgNsI1xBc0DYjHexeSlUNpWhCi4=
=yBlA
-----END PGP SIGNATURE-----

Ashvith Shetty wrote 4 weeks ago
[PATCH v2 00/10] gnu: Add micro.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-2-ashvithshetty0010@zohomail.in
V2 of the patch series. Adds changes as recommended by Sharlatan.

Ashvith Shetty (10):
gnu: Add go-github-com-layeh-gopher-luar.
gnu: Add go-github-com-zyedidia-poller.
gnu: Add go-github-com-zyedidia-clipper.
gnu: Add go-github-com-zyedidia-glob.
gnu: Add go-github-com-zyedidia-go-runewidth.
gnu: Add go-github-com-zyedidia-go-shellquote.
gnu: Add go-github-com-zyedidia-json5.
gnu: Add go-github-com-zyedidia-tcell.
gnu: Add go-github-com-zyedidia-terminal.
gnu: Add micro.

gnu/packages/golang-xyz.scm | 249 ++++++++++++++++++++++++++++++++++
gnu/packages/text-editors.scm | 49 +++++++
2 files changed, 298 insertions(+)

--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v2 02/10] gnu: Add go-github-com-zyedidia-poller.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-4-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-poller): New variable.

Change-Id: I5d4acbca7dbf47a2767d3fb262f55fbb9c678d50
---
gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index d835769032..61ac06b5c8 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15934,6 +15934,38 @@ (define-public go-github-com-zclconf-go-cty-debug
utilities for cty Golang module.")
(license license:expat)))
+(define-public go-github-com-zyedidia-poller
+ (package
+ (name "go-github-com-zyedidia-poller")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/poller")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10cjrqfk1j0l55bdbpm7kv4mqc665pngc8avai0p9chq03y2654g"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/poller"))
+ (home-page "https://github.com/zyedidia/poller")
+ (synopsis "File-descriptor multiplexer based on epoll(7)")
+ (description
+ "Package poller is a file-descriptor multiplexer. It allows concurent Read and
+Write operations from and to multiple file-descriptors without allocating one OS
+thread for every blocked operation. It operates similarly to Go's netpoller
+(which multiplexes network connections) without requiring special support from
+the Go runtime. It can be used with tty devices, character devices, pipes,
+FIFOs, and any file-descriptor that is poll-able (can be used with select(2),
+epoll(7), etc.) In addition, package poller allows the user to set timeouts
+(deadlines) for read and write operations, and also allows for safe cancelation
+of blocked read and write operations; a Close from another go-routine safely
+cancels ongoing (blocked) read and write operations.")
+ (license license:bsd-2)))
+
(define-public go-go-abhg-dev-komplete
(package
(name "go-go-abhg-dev-komplete")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v2 01/10] gnu: Add go-github-com-layeh-gopher-luar.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-3-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-layeh-gopher-luar): New variable.

Change-Id: Iafe2a8aa760d684dae485c12f639cdbdc8efc336
---
gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 2af3339197..d835769032 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -56,6 +56,7 @@
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
+;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9567,6 +9568,31 @@ (define-public go-github-com-lann-ps
structure. It's a stable fork of https://github.com/mndrix/ps.")
(license license:expat)))
+(define-public go-github-com-layeh-gopher-luar
+ (package
+ (name "go-github-com-layeh-gopher-luar")
+ (version "1.0.11")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/layeh/gopher-luar")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zfafqy2jwjmrr0gl3h2ivn0iixb0bvslcwcly9bcmc5yxq35m89"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "layeh.com/gopher-luar"))
+ (propagated-inputs (list go-github-com-yuin-gopher-lua))
+ (home-page "https://github.com/layeh/gopher-luar")
+ (synopsis "Simplifies data passing to and from gopher-lua")
+ (description
+ "Package @code{gopher-luar} simplifies data passing to and from
+ @url{https://github.com/yuin/gopher-lua, gopher-lua}.")
+ (license license:mpl2.0)))
+
(define-public go-github-com-leodido-go-urn
(package
(name "go-github-com-leodido-go-urn")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v2 03/10] gnu: Add go-github-com-zyedidia-clipper.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-5-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-clipper): New variable.

Change-Id: Ib97afc64f6186034239b2c55454413d8033c1be1
---
gnu/packages/golang-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)

Toggle diff (49 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 61ac06b5c8..dd968d4a58 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15934,6 +15934,42 @@ (define-public go-github-com-zclconf-go-cty-debug
utilities for cty Golang module.")
(license license:expat)))
+(define-public go-github-com-zyedidia-clipper
+ (package
+ (name "go-github-com-zyedidia-clipper")
+ (version "0.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/clipper")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18fv2cdll1d7d5wxs6r7kkhmk60pziiw3iy7knmdbcbhrk9rg112"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/clipper"))
+ (home-page "https://github.com/zyedidia/clipper")
+ (synopsis "@code{Clipper}: cross-platform clipboard library")
+ (description "Platforms supported:
+@itemize
+@item Linux (via xclip or xsel or wl-copy/wl-paste)
+@item MacOS (via pbcopy/pbpaste)
+@item Windows (via the Windows clipboard API)
+@item WSL (via clip.exe/powershell.exe)
+@item Android Termux (via termux-clipboard-set/termux-clipboard-get)
+@item Plan9 (via /dev/snarf)
+@item Anything else (via a user-defined script)
+@end itemize
+Fallback methods:
+@itemize
+@item Internal in-memory clipboard
+@item File-based clipboard
+@end itemize")
+ (license license:expat)))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v2 04/10] gnu: Add go-github-com-zyedidia-glob.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-6-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-glob): New variable.

Change-Id: I3c2815a1c1544641ca0bc06a97f0129a5a89a13d
---
gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index dd968d4a58..3c0fac78a7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15970,6 +15970,29 @@ (define-public go-github-com-zyedidia-clipper
@end itemize")
(license license:expat)))
+(define-public go-github-com-zyedidia-glob
+ (package
+ (name "go-github-com-zyedidia-glob")
+ (version "0.0.0-20170209203856-dd4023a66dc3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/glob")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1vqw4xbqq6j8p5m7mwxvb448w69vjvgzx0ndsfzdh2cxfirwp3y7"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/glob"))
+ (home-page "https://github.com/zyedidia/glob")
+ (synopsis "String globbing in Go")
+ (description
+ "Package glob provides objects for matching strings with globs.")
+ (license license:expat)))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v2 05/10] gnu: Add go-github-com-zyedidia-go-runewidth.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-7-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-go-runewidth): New variable.

Change-Id: I17b2b97f25fffaa0e0cff9be9cc43d1f83412bb2
---
gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3c0fac78a7..c678dd8048 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15993,6 +15993,30 @@ (define-public go-github-com-zyedidia-glob
"Package glob provides objects for matching strings with globs.")
(license license:expat)))
+(define-public go-github-com-zyedidia-go-runewidth
+ (package
+ (name "go-github-com-zyedidia-go-runewidth")
+ (version "0.0.12")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/go-runewidth")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18gv5fkd69v8bwngj6r5zc572vyd1qhafz1wi3d7ynz3w0mmq85c"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/mattn/go-runewidth"))
+ (propagated-inputs (list go-github-com-rivo-uniseg))
+ (home-page "https://github.com/zyedidia/go-runewidth")
+ (synopsis "Provides wcwidth-like functionality for Go")
+ (description
+ "This package provides functions to get fixed width of the character or string.")
+ (license license:expat)))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v2 06/10] gnu: Add go-github-com-zyedidia-go-shellquote.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-8-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-go-shellquote): New variable.

Change-Id: I39df8c180ac392cf1c89dd612921b09046c03189
---
gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c678dd8048..9b93ba7819 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -16017,6 +16017,30 @@ (define-public go-github-com-zyedidia-go-runewidth
"This package provides functions to get fixed width of the character or string.")
(license license:expat)))
+(define-public go-github-com-zyedidia-go-shellquote
+ (package
+ (name "go-github-com-zyedidia-go-shellquote")
+ (version "0.0.0-20200613203517-eccd813c0655")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/go-shellquote")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jxjj60kicpzc6i7vigg0i8iwnhf6jawcalq201a5wkxnkmdlw9g"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/kballard/go-shellquote"))
+ (home-page "https://github.com/zyedidia/go-shellquote")
+ (synopsis "Go utilities for performing shell-like word splitting/joining")
+ (description
+ "Shellquote provides utilities for joining/splitting strings using sh's
+word-splitting rules.")
+ (license license:expat)))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v2 07/10] gnu: Add go-github-com-zyedidia-json5.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-9-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-json5): New variable.

Change-Id: Ia931a9c4d86b4e42e45dcc72ffec58c7c3793efe
---
gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 9b93ba7819..8ff92127c0 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -16041,6 +16041,30 @@ (define-public go-github-com-zyedidia-go-shellquote
word-splitting rules.")
(license license:expat)))
+(define-public go-github-com-zyedidia-json5
+ (package
+ (name "go-github-com-zyedidia-json5")
+ (version "0.0.0-20200102012142-2da050b1a98d")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/json5")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1sgydazf3npr788b4w17ydmlh3fd1zmpriv9b69967ww90ckh2kz"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/json5"))
+ (home-page "https://github.com/zyedidia/json5")
+ (synopsis "Go JSON5 decoder package based on encoding/json")
+ (description
+ "This is a Go package that implements decoding of
+ @url{https://github.com/json5/json5, JSON5}.")
+ (license (list license:expat license:bsd-3))))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v2 08/10] gnu: Add go-github-com-zyedidia-tcell.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-10-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-tcell): New variable.

Change-Id: Id6d92347e6b7b080b906f5ef7849b6589fb80d04
---
gnu/packages/golang-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8ff92127c0..8ff3fe8c55 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -16097,6 +16097,39 @@ (define-public go-github-com-zyedidia-poller
cancels ongoing (blocked) read and write operations.")
(license license:bsd-2)))
+(define-public go-github-com-zyedidia-tcell
+ (package
+ (name "go-github-com-zyedidia-tcell")
+ (version "2.0.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/tcell")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rbivmy79sc8hnygj7b3axhiqgbx6xc4f28pz69nhq9w2skk3zb9"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/tcell/v2"))
+ (propagated-inputs (list go-golang-org-x-text
+ go-golang-org-x-sys
+ go-github-com-zyedidia-poller
+ go-github-com-xo-terminfo
+ go-github-com-mattn-go-runewidth
+ go-github-com-lucasb-eyer-go-colorful
+ go-github-com-gdamore-encoding))
+ (home-page "https://github.com/zyedidia/tcell")
+ (synopsis
+ "Tcell is a Go package that provides a cell based view for text terminals")
+ (description
+ "Package tcell provides a lower-level, portable API for building programs that
+interact with terminals or consoles. It works with both common (and many
+uncommon!) terminals or terminal emulators, and Windows console implementations.")
+ (license license:asl2.0)))
+
(define-public go-go-abhg-dev-komplete
(package
(name "go-go-abhg-dev-komplete")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v2 09/10] gnu: Add go-github-com-zyedidia-terminal.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-11-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-terminal): New variable.

Change-Id: I94caacaf4440cbfa547344aa84c084949b873c3f
---
gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8ff3fe8c55..a7c389dee1 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -16130,6 +16130,33 @@ (define-public go-github-com-zyedidia-tcell
uncommon!) terminals or terminal emulators, and Windows console implementations.")
(license license:asl2.0)))
+(define-public go-github-com-zyedidia-terminal
+ (package
+ (name "go-github-com-zyedidia-terminal")
+ (version "0.0.0-20230315200948-4b3bcf6dddef")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/terminal")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lqplkpllv63msf7sp8igrhvkrnr8l8hz4v5daliyn4qwvgs3k63"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/terminal"))
+ (propagated-inputs (list go-github-com-creack-pty))
+ (home-page "https://github.com/zyedidia/terminal")
+ (synopsis "Package terminal is a vt10x terminal emulation backend")
+ (description
+ "Package terminal is a vt10x terminal emulation backend, influenced largely by
+@code{st}, @code{rxvt}, @code{xterm}, and @code{iTerm} as reference. Use it for
+terminal muxing, a terminal emulation frontend, or wherever else you need terminal
+emulation.")
+ (license license:expat)))
+
(define-public go-go-abhg-dev-komplete
(package
(name "go-go-abhg-dev-komplete")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v2 10/10] gnu: Add micro.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214185019.8937-12-ashvithshetty0010@zohomail.in
* gnu/packages/text-editors.scm (micro): New variable.

Change-Id: Ib6009701b96b2d534a2fae365fcf9ce8a04f9340
---
gnu/packages/text-editors.scm | 49 +++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)

Toggle diff (83 lines)
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index f52bc092f1..f22894089e 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -35,6 +35,7 @@
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;; Copyright © 2024 Spencer King <spencer.king@wustl.edu>
;;; Copyright © 2024 Murilo <murilo@disroot.org>
+;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -61,6 +62,7 @@ (define-module (gnu packages text-editors)
#:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
@@ -90,6 +92,9 @@ (define-module (gnu packages text-editors)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages golang-build)
+ #:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-xyz)
#:use-module (gnu packages graphics)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
@@ -153,6 +158,50 @@ (define-public ed
extensions over the standard utility.")
(license license:gpl3+)))
+(define-public micro
+ (package
+ (name "micro")
+ (version "2.0.14")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/micro")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1pcfsaq7k6q59vh3xgh8gy350apkv5rkc09d4fh15lx7m6bxbwka"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:install-source? #f
+ #:import-path "github.com/zyedidia/micro/v2/cmd/micro"
+ #:unpack-path "github.com/zyedidia/micro/v2"))
+ (inputs (list go-github-com-layeh-gopher-luar
+ go-github-com-zyedidia-go-runewidth
+ go-github-com-zyedidia-go-shellquote
+ go-gopkg-in-yaml-v2
+ go-golang-org-x-text
+ go-github-com-zyedidia-tcell
+ go-github-com-zyedidia-terminal
+ go-github-com-zyedidia-json5
+ go-github-com-zyedidia-glob
+ go-github-com-zyedidia-clipper
+ go-github-com-yuin-gopher-lua
+ go-github-com-stretchr-testify
+ go-github-com-sergi-go-diff
+ go-github-com-mitchellh-go-homedir
+ go-github-com-mattn-go-isatty
+ go-github-com-go-errors-errors
+ go-github-com-dustin-go-humanize
+ go-github-com-blang-semver))
+ (home-page "https://github.com/zyedidia/micro")
+ (synopsis "Modern and intuitive terminal-based text editor")
+ (description
+ "@code{micro} is a terminal-based text editor that aims to be easy to use and
+intuitive, while also taking advantage of the capabilities of modern terminals.")
+ (license license:expat)))
+
(define-public lem
(let ((commit "534cb9f2e1e1b0ffbdf4552a39801deec21a76f8")
(revision "3"))
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 00/10] gnu: Add micro.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-1-ashvithshetty0010@zohomail.in
V3 of the patch. Removes versioning from arguments in micro.

Ashvith Shetty (10):
gnu: Add go-github-com-layeh-gopher-luar.
gnu: Add go-github-com-zyedidia-poller.
gnu: Add go-github-com-zyedidia-clipper.
gnu: Add go-github-com-zyedidia-glob.
gnu: Add go-github-com-zyedidia-go-runewidth.
gnu: Add go-github-com-zyedidia-go-shellquote.
gnu: Add go-github-com-zyedidia-json5.
gnu: Add go-github-com-zyedidia-tcell.
gnu: Add go-github-com-zyedidia-terminal.
gnu: Add micro.

gnu/packages/golang-xyz.scm | 249 ++++++++++++++++++++++++++++++++++
gnu/packages/text-editors.scm | 49 +++++++
2 files changed, 298 insertions(+)

--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 01/10] gnu: Add go-github-com-layeh-gopher-luar.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-2-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-layeh-gopher-luar): New variable.

Change-Id: Iafe2a8aa760d684dae485c12f639cdbdc8efc336
---
gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 2af3339197..d835769032 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -56,6 +56,7 @@
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
+;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9567,6 +9568,31 @@ (define-public go-github-com-lann-ps
structure. It's a stable fork of https://github.com/mndrix/ps.")
(license license:expat)))
+(define-public go-github-com-layeh-gopher-luar
+ (package
+ (name "go-github-com-layeh-gopher-luar")
+ (version "1.0.11")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/layeh/gopher-luar")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zfafqy2jwjmrr0gl3h2ivn0iixb0bvslcwcly9bcmc5yxq35m89"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "layeh.com/gopher-luar"))
+ (propagated-inputs (list go-github-com-yuin-gopher-lua))
+ (home-page "https://github.com/layeh/gopher-luar")
+ (synopsis "Simplifies data passing to and from gopher-lua")
+ (description
+ "Package @code{gopher-luar} simplifies data passing to and from
+ @url{https://github.com/yuin/gopher-lua, gopher-lua}.")
+ (license license:mpl2.0)))
+
(define-public go-github-com-leodido-go-urn
(package
(name "go-github-com-leodido-go-urn")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 02/10] gnu: Add go-github-com-zyedidia-poller.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-3-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-poller): New variable.

Change-Id: I5d4acbca7dbf47a2767d3fb262f55fbb9c678d50
---
gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index d835769032..61ac06b5c8 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15934,6 +15934,38 @@ (define-public go-github-com-zclconf-go-cty-debug
utilities for cty Golang module.")
(license license:expat)))
+(define-public go-github-com-zyedidia-poller
+ (package
+ (name "go-github-com-zyedidia-poller")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/poller")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10cjrqfk1j0l55bdbpm7kv4mqc665pngc8avai0p9chq03y2654g"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/poller"))
+ (home-page "https://github.com/zyedidia/poller")
+ (synopsis "File-descriptor multiplexer based on epoll(7)")
+ (description
+ "Package poller is a file-descriptor multiplexer. It allows concurent Read and
+Write operations from and to multiple file-descriptors without allocating one OS
+thread for every blocked operation. It operates similarly to Go's netpoller
+(which multiplexes network connections) without requiring special support from
+the Go runtime. It can be used with tty devices, character devices, pipes,
+FIFOs, and any file-descriptor that is poll-able (can be used with select(2),
+epoll(7), etc.) In addition, package poller allows the user to set timeouts
+(deadlines) for read and write operations, and also allows for safe cancelation
+of blocked read and write operations; a Close from another go-routine safely
+cancels ongoing (blocked) read and write operations.")
+ (license license:bsd-2)))
+
(define-public go-go-abhg-dev-komplete
(package
(name "go-go-abhg-dev-komplete")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 03/10] gnu: Add go-github-com-zyedidia-clipper.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-4-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-clipper): New variable.

Change-Id: Ib97afc64f6186034239b2c55454413d8033c1be1
---
gnu/packages/golang-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)

Toggle diff (49 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 61ac06b5c8..dd968d4a58 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15934,6 +15934,42 @@ (define-public go-github-com-zclconf-go-cty-debug
utilities for cty Golang module.")
(license license:expat)))
+(define-public go-github-com-zyedidia-clipper
+ (package
+ (name "go-github-com-zyedidia-clipper")
+ (version "0.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/clipper")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18fv2cdll1d7d5wxs6r7kkhmk60pziiw3iy7knmdbcbhrk9rg112"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/clipper"))
+ (home-page "https://github.com/zyedidia/clipper")
+ (synopsis "@code{Clipper}: cross-platform clipboard library")
+ (description "Platforms supported:
+@itemize
+@item Linux (via xclip or xsel or wl-copy/wl-paste)
+@item MacOS (via pbcopy/pbpaste)
+@item Windows (via the Windows clipboard API)
+@item WSL (via clip.exe/powershell.exe)
+@item Android Termux (via termux-clipboard-set/termux-clipboard-get)
+@item Plan9 (via /dev/snarf)
+@item Anything else (via a user-defined script)
+@end itemize
+Fallback methods:
+@itemize
+@item Internal in-memory clipboard
+@item File-based clipboard
+@end itemize")
+ (license license:expat)))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 04/10] gnu: Add go-github-com-zyedidia-glob.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-5-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-glob): New variable.

Change-Id: I3c2815a1c1544641ca0bc06a97f0129a5a89a13d
---
gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index dd968d4a58..3c0fac78a7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15970,6 +15970,29 @@ (define-public go-github-com-zyedidia-clipper
@end itemize")
(license license:expat)))
+(define-public go-github-com-zyedidia-glob
+ (package
+ (name "go-github-com-zyedidia-glob")
+ (version "0.0.0-20170209203856-dd4023a66dc3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/glob")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1vqw4xbqq6j8p5m7mwxvb448w69vjvgzx0ndsfzdh2cxfirwp3y7"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/glob"))
+ (home-page "https://github.com/zyedidia/glob")
+ (synopsis "String globbing in Go")
+ (description
+ "Package glob provides objects for matching strings with globs.")
+ (license license:expat)))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 06/10] gnu: Add go-github-com-zyedidia-go-shellquote.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-7-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-go-shellquote): New variable.

Change-Id: I39df8c180ac392cf1c89dd612921b09046c03189
---
gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c678dd8048..9b93ba7819 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -16017,6 +16017,30 @@ (define-public go-github-com-zyedidia-go-runewidth
"This package provides functions to get fixed width of the character or string.")
(license license:expat)))
+(define-public go-github-com-zyedidia-go-shellquote
+ (package
+ (name "go-github-com-zyedidia-go-shellquote")
+ (version "0.0.0-20200613203517-eccd813c0655")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/go-shellquote")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jxjj60kicpzc6i7vigg0i8iwnhf6jawcalq201a5wkxnkmdlw9g"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/kballard/go-shellquote"))
+ (home-page "https://github.com/zyedidia/go-shellquote")
+ (synopsis "Go utilities for performing shell-like word splitting/joining")
+ (description
+ "Shellquote provides utilities for joining/splitting strings using sh's
+word-splitting rules.")
+ (license license:expat)))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 05/10] gnu: Add go-github-com-zyedidia-go-runewidth.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-6-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-go-runewidth): New variable.

Change-Id: I17b2b97f25fffaa0e0cff9be9cc43d1f83412bb2
---
gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3c0fac78a7..c678dd8048 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15993,6 +15993,30 @@ (define-public go-github-com-zyedidia-glob
"Package glob provides objects for matching strings with globs.")
(license license:expat)))
+(define-public go-github-com-zyedidia-go-runewidth
+ (package
+ (name "go-github-com-zyedidia-go-runewidth")
+ (version "0.0.12")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/go-runewidth")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18gv5fkd69v8bwngj6r5zc572vyd1qhafz1wi3d7ynz3w0mmq85c"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/mattn/go-runewidth"))
+ (propagated-inputs (list go-github-com-rivo-uniseg))
+ (home-page "https://github.com/zyedidia/go-runewidth")
+ (synopsis "Provides wcwidth-like functionality for Go")
+ (description
+ "This package provides functions to get fixed width of the character or string.")
+ (license license:expat)))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 07/10] gnu: Add go-github-com-zyedidia-json5.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-8-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-json5): New variable.

Change-Id: Ia931a9c4d86b4e42e45dcc72ffec58c7c3793efe
---
gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 9b93ba7819..8ff92127c0 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -16041,6 +16041,30 @@ (define-public go-github-com-zyedidia-go-shellquote
word-splitting rules.")
(license license:expat)))
+(define-public go-github-com-zyedidia-json5
+ (package
+ (name "go-github-com-zyedidia-json5")
+ (version "0.0.0-20200102012142-2da050b1a98d")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/json5")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1sgydazf3npr788b4w17ydmlh3fd1zmpriv9b69967ww90ckh2kz"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/json5"))
+ (home-page "https://github.com/zyedidia/json5")
+ (synopsis "Go JSON5 decoder package based on encoding/json")
+ (description
+ "This is a Go package that implements decoding of
+ @url{https://github.com/json5/json5, JSON5}.")
+ (license (list license:expat license:bsd-3))))
+
(define-public go-github-com-zyedidia-poller
(package
(name "go-github-com-zyedidia-poller")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 08/10] gnu: Add go-github-com-zyedidia-tcell.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-9-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-tcell): New variable.

Change-Id: Id6d92347e6b7b080b906f5ef7849b6589fb80d04
---
gnu/packages/golang-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8ff92127c0..8ff3fe8c55 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -16097,6 +16097,39 @@ (define-public go-github-com-zyedidia-poller
cancels ongoing (blocked) read and write operations.")
(license license:bsd-2)))
+(define-public go-github-com-zyedidia-tcell
+ (package
+ (name "go-github-com-zyedidia-tcell")
+ (version "2.0.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/tcell")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rbivmy79sc8hnygj7b3axhiqgbx6xc4f28pz69nhq9w2skk3zb9"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/tcell/v2"))
+ (propagated-inputs (list go-golang-org-x-text
+ go-golang-org-x-sys
+ go-github-com-zyedidia-poller
+ go-github-com-xo-terminfo
+ go-github-com-mattn-go-runewidth
+ go-github-com-lucasb-eyer-go-colorful
+ go-github-com-gdamore-encoding))
+ (home-page "https://github.com/zyedidia/tcell")
+ (synopsis
+ "Tcell is a Go package that provides a cell based view for text terminals")
+ (description
+ "Package tcell provides a lower-level, portable API for building programs that
+interact with terminals or consoles. It works with both common (and many
+uncommon!) terminals or terminal emulators, and Windows console implementations.")
+ (license license:asl2.0)))
+
(define-public go-go-abhg-dev-komplete
(package
(name "go-go-abhg-dev-komplete")
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 10/10] gnu: Add micro.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-11-ashvithshetty0010@zohomail.in
* gnu/packages/text-editors.scm (micro): New variable.

Change-Id: Ib6009701b96b2d534a2fae365fcf9ce8a04f9340
---
gnu/packages/text-editors.scm | 49 +++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)

Toggle diff (83 lines)
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index f52bc092f1..a0bff1aa5f 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -35,6 +35,7 @@
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;; Copyright © 2024 Spencer King <spencer.king@wustl.edu>
;;; Copyright © 2024 Murilo <murilo@disroot.org>
+;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -61,6 +62,7 @@ (define-module (gnu packages text-editors)
#:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
@@ -90,6 +92,9 @@ (define-module (gnu packages text-editors)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages golang-build)
+ #:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-xyz)
#:use-module (gnu packages graphics)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
@@ -153,6 +158,50 @@ (define-public ed
extensions over the standard utility.")
(license license:gpl3+)))
+(define-public micro
+ (package
+ (name "micro")
+ (version "2.0.14")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/micro")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1pcfsaq7k6q59vh3xgh8gy350apkv5rkc09d4fh15lx7m6bxbwka"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:install-source? #f
+ #:import-path "github.com/zyedidia/micro/cmd/micro"
+ #:unpack-path "github.com/zyedidia/micro"))
+ (inputs (list go-github-com-layeh-gopher-luar
+ go-github-com-zyedidia-go-runewidth
+ go-github-com-zyedidia-go-shellquote
+ go-gopkg-in-yaml-v2
+ go-golang-org-x-text
+ go-github-com-zyedidia-tcell
+ go-github-com-zyedidia-terminal
+ go-github-com-zyedidia-json5
+ go-github-com-zyedidia-glob
+ go-github-com-zyedidia-clipper
+ go-github-com-yuin-gopher-lua
+ go-github-com-stretchr-testify
+ go-github-com-sergi-go-diff
+ go-github-com-mitchellh-go-homedir
+ go-github-com-mattn-go-isatty
+ go-github-com-go-errors-errors
+ go-github-com-dustin-go-humanize
+ go-github-com-blang-semver))
+ (home-page "https://github.com/zyedidia/micro")
+ (synopsis "Modern and intuitive terminal-based text editor")
+ (description
+ "@code{micro} is a terminal-based text editor that aims to be easy to use and
+intuitive, while also taking advantage of the capabilities of modern terminals.")
+ (license license:expat)))
+
(define-public lem
(let ((commit "534cb9f2e1e1b0ffbdf4552a39801deec21a76f8")
(revision "3"))
--
2.48.1
Ashvith Shetty wrote 4 weeks ago
[PATCH v3 09/10] gnu: Add go-github-com-zyedidia-terminal.
(address . 76273@debbugs.gnu.org)(name . Ashvith Shetty)(address . ashvithshetty0010@zohomail.in)(name . Katherine Cox-Buday)(address . cox.katherine.e+guix@gmail.com)(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)
20250214190536.16812-10-ashvithshetty0010@zohomail.in
* gnu/packages/golang-xyz.scm (go-github-com-zyedidia-terminal): New variable.

Change-Id: I94caacaf4440cbfa547344aa84c084949b873c3f
---
gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8ff3fe8c55..a7c389dee1 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -16130,6 +16130,33 @@ (define-public go-github-com-zyedidia-tcell
uncommon!) terminals or terminal emulators, and Windows console implementations.")
(license license:asl2.0)))
+(define-public go-github-com-zyedidia-terminal
+ (package
+ (name "go-github-com-zyedidia-terminal")
+ (version "0.0.0-20230315200948-4b3bcf6dddef")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zyedidia/terminal")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lqplkpllv63msf7sp8igrhvkrnr8l8hz4v5daliyn4qwvgs3k63"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/zyedidia/terminal"))
+ (propagated-inputs (list go-github-com-creack-pty))
+ (home-page "https://github.com/zyedidia/terminal")
+ (synopsis "Package terminal is a vt10x terminal emulation backend")
+ (description
+ "Package terminal is a vt10x terminal emulation backend, influenced largely by
+@code{st}, @code{rxvt}, @code{xterm}, and @code{iTerm} as reference. Use it for
+terminal muxing, a terminal emulation frontend, or wherever else you need terminal
+emulation.")
+ (license license:expat)))
+
(define-public go-go-abhg-dev-komplete
(package
(name "go-go-abhg-dev-komplete")
--
2.48.1
Sharlatan Hellseher wrote 4 weeks ago
[PATCH v1 00/10] gnu: Add micro.
(address . 76273-done@debbugs.gnu.org)
87seofcgxd.fsf@gmail.com
Hi,

I've adjusted some package descriptions and inherited from exiting ones
where they are just alternative forks for Micro@2.0.14 and is not
included on master's HEAD

Pushed to master as:

50e6b4bc42b * gnu: Add micro.
46382b03286 * gnu: Add go-github-com-zyedidia-terminal.
4fcdaf8bcaf * gnu: Add go-github-com-zyedidia-tcell-v2.
57049ff6315 * gnu: Add go-github-com-zyedidia-json5.
1a0c0de2f13 * gnu: Add go-github-com-zyedidia-go-shellquote.
7b0c7da6703 * gnu: Add go-github-com-zyedidia-go-runewidth.
21ff39ab102 * gnu: Add go-github-com-zyedidia-glob.
93a59ab4e0b * gnu: Add go-github-com-zyedidia-clipper.
ae85e8303c8 * gnu: Add go-github-com-zyedidia-poller.
499d3b81989 * gnu: Add go-github-com-layeh-gopher-luar.

--
Thanks,
Oleg
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmewwE4ACgkQdtcnv/Ys
0rWTdA/+N3vKomNXym90JAl9p33ZbzQIgU0t/CAnrRd16dYII0V5qmYz6HYGS+T1
TX41V3B+rxUgS2LDttA/etMytpMHYooA5XhBCvIG53JD5FFycdr75GZqFytgMOJg
ebbHK0+2ZAAoa4d9l4atcnqQFWUVEo2tmxpTZwlDnNyGkr64w6FBgCvK/bh/M9Hj
ZfGoXg+T4NOJ9bJ2S6j7LT8mjMYGHlq4/WgF9vvgUbhjM2jMjSDO2muMoilBhjIf
htFkZFvTV7dQxcuaHgv9prURb3XbOcFhBZUqZdPzxyFEE+UFxBCMdvmBKrmrP6qk
2S/p9/tRrcKTqEOPfD1YPwAc/bgcN9yVejhRhUF4ltfEp4qkfEkowZ9h4NNOXoDA
BviUJcFykE9kLauQront10o5wi3YVwqZZvTbJ3aj2UTYdg6ySsEQ3wEpRk7r4Yzu
BRC/RLsS1CWIoqTJWw0iSnhwBFMhEcb7sPrB9/kcYIUNFVvpUEOXJA6TN0Xqr75E
LxiTvlYoHYPQbYWwzCTE2pfDhpVcDCwZB28kYD+PjIra6crI36oJ16pF52gYJxcA
QJDgdHFRYYZNkZS008rlQxDTTILBE8rkXI03G3wsyBI0NBPm4x58aeHVnUWRoL01
egxVXGvwXiaOgzYzReLlEfEsjJijeTXM9gVkPk++lcKqQE/cnOs=
=po0r
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 76273@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 76273
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help