From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 66829@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>
Subject: [bug#66829] [PATCH 1/2] gnu: Add kibi.
Date: Sun, 29 Oct 2023 21:16:57 -0400 [thread overview]
Message-ID: <590808999c49c4aafb5c3447b923940e8bad934e.1698628136.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1698628136.git.jaeme@runbox.com>
* 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
next prev parent reply other threads:[~2023-10-30 1:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=590808999c49c4aafb5c3447b923940e8bad934e.1698628136.git.jaeme@runbox.com \
--to=guix-patches@gnu.org \
--cc=66829@debbugs.gnu.org \
--cc=jaeme@runbox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.