unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66829] [PATCH 0/2] Add kibi.
@ 2023-10-30  1:11 Jaeme Sifat via Guix-patches via
  2023-10-30  1:16 ` [bug#66829] [PATCH 1/2] gnu: " Jaeme Sifat via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-30  1:11 UTC (permalink / raw)
  To: 66829; +Cc: Jaeme Sifat

This patch series adds the termianl text editor kibi to Guix.

Jaeme Sifat (2):
  gnu: Add kibi.
  gnu: rust-apps: Update copyright header.

 gnu/packages/rust-apps.scm | 45 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)


base-commit: 26565f1bc8548011bc0e1b821a9a957db1bc2d8f
-- 
2.41.0





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#66829] [PATCH 1/2] gnu: Add kibi.
  2023-10-30  1:11 [bug#66829] [PATCH 0/2] Add kibi Jaeme Sifat via Guix-patches via
@ 2023-10-30  1:16 ` Jaeme Sifat via Guix-patches via
  2023-10-30  1:16 ` [bug#66829] [PATCH 2/2] gnu: rust-apps: Update copyright header Jaeme Sifat via Guix-patches via
  2023-11-05 10:31 ` bug#66829: [PATCH 0/2] Add kibi Efraim Flashner
  2 siblings, 0 replies; 4+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-30  1:16 UTC (permalink / raw)
  To: 66829; +Cc: Jaeme Sifat

* gnu/packages/rust-apps.scm (kibi): New variable.

Change-Id: Ic2d2a83ffe469091a126ae5b6cc80b703b957db6
---
 gnu/packages/rust-apps.scm | 44 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index a06447143a..87989d8f5c 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -835,6 +835,50 @@ (define-public just
 @code{just} is a handy way to save and run project-specific commands.")
     (license license:cc0)))
 
+(define-public kibi
+  (package
+    (name "kibi")
+    (version "0.2.2")
+    (source
+     (origin
+       (method git-fetch) ;crates.io doesn't have config files
+       (uri (git-reference
+             (url "https://github.com/ilai-deutel/kibi")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1s9ka3pfhpssms2y5707f33n59ljnqqwp7jarh2l55a9dhlnl7d3"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:install-source? #f
+      #:cargo-test-flags `(list "--release" "--"
+                                "--skip=syntax::tests::syntax_d_files")
+      #:cargo-inputs `(("rust-libc" ,rust-libc-0.2)
+                       ("rust-unicode-width" ,rust-unicode-width-0.1)
+                       ("rust-winapi" ,rust-winapi-0.3)
+                       ("rust-winapi-util" ,rust-winapi-util-0.1))
+      #:cargo-development-inputs `(("rust-serial-test" ,rust-serial-test-0.5)
+                                   ("rust-tempfile" ,rust-tempfile-3))
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'install 'install-extras
+                     (lambda* (#:key outputs #:allow-other-keys)
+                       (let* ((out (assoc-ref outputs "out"))
+                              (share (string-append out "/share"))
+                              (syntax.d (string-append share "/syntax.d"))
+                              (etc (string-append out "/etc")))
+                         (mkdir-p syntax.d)
+                         (copy-recursively "syntax.d" syntax.d)
+                         (rename-file "config_example.ini" "config.ini")
+                         (install-file "config.ini" etc)))))))
+    (home-page "https://github.com/ilai-deutel/kibi")
+    (synopsis "Featureful text editor in less than 1024 lines of code")
+    (description
+     "Inspired by the kilo text editor in C, this package provides a text
+editor in less than 1024 lines of code with syntax higlighting, search and
+more.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public maturin
   (package
     (name "maturin")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#66829] [PATCH 2/2] gnu: rust-apps: Update copyright header.
  2023-10-30  1:11 [bug#66829] [PATCH 0/2] Add kibi Jaeme Sifat via Guix-patches via
  2023-10-30  1:16 ` [bug#66829] [PATCH 1/2] gnu: " Jaeme Sifat via Guix-patches via
@ 2023-10-30  1:16 ` Jaeme Sifat via Guix-patches via
  2023-11-05 10:31 ` bug#66829: [PATCH 0/2] Add kibi Efraim Flashner
  2 siblings, 0 replies; 4+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-30  1:16 UTC (permalink / raw)
  To: 66829; +Cc: Jaeme Sifat

* gnu/packages/rust-apps.scm: Update copyright header.

Change-Id: I7a8c906e3202834d58013a3cc764b4a15264ad84
---
 gnu/packages/rust-apps.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 87989d8f5c..cbd4b92320 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
 ;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
+;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#66829: [PATCH 0/2] Add kibi.
  2023-10-30  1:11 [bug#66829] [PATCH 0/2] Add kibi Jaeme Sifat via Guix-patches via
  2023-10-30  1:16 ` [bug#66829] [PATCH 1/2] gnu: " Jaeme Sifat via Guix-patches via
  2023-10-30  1:16 ` [bug#66829] [PATCH 2/2] gnu: rust-apps: Update copyright header Jaeme Sifat via Guix-patches via
@ 2023-11-05 10:31 ` Efraim Flashner
  2 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2023-11-05 10:31 UTC (permalink / raw)
  To: Jaeme Sifat; +Cc: 66829-done

[-- Attachment #1: Type: text/plain, Size: 716 bytes --]

Thanks. I've pushed it to the rust-team branch.

On Sun, Oct 29, 2023 at 09:11:38PM -0400, Jaeme Sifat via Guix-patches via wrote:
> This patch series adds the termianl text editor kibi to Guix.
> 
> Jaeme Sifat (2):
>   gnu: Add kibi.
>   gnu: rust-apps: Update copyright header.
> 
>  gnu/packages/rust-apps.scm | 45 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 45 insertions(+)
> 
> 
> base-commit: 26565f1bc8548011bc0e1b821a9a957db1bc2d8f
> -- 
> 2.41.0
> 
> 
> 
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-05 10:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-30  1:11 [bug#66829] [PATCH 0/2] Add kibi Jaeme Sifat via Guix-patches via
2023-10-30  1:16 ` [bug#66829] [PATCH 1/2] gnu: " Jaeme Sifat via Guix-patches via
2023-10-30  1:16 ` [bug#66829] [PATCH 2/2] gnu: rust-apps: Update copyright header Jaeme Sifat via Guix-patches via
2023-11-05 10:31 ` bug#66829: [PATCH 0/2] Add kibi Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).