From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qPRHOVYIP2XLAwEAG6o9tA:P1 (envelope-from ) for ; Mon, 30 Oct 2023 02:35:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qPRHOVYIP2XLAwEAG6o9tA (envelope-from ) for ; Mon, 30 Oct 2023 02:35:19 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6DC2E37321 for ; Mon, 30 Oct 2023 02:35:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=RC0qsPQS; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698629718; a=rsa-sha256; cv=none; b=DforLmaymf18vCYiMw4Wi0CI87S0MQNT/RomDxzu+XJleyemIeYl2He+74N14bNU9jThnf k2opZCEBIw3R/dA2EbZk2nn0dGr4bnVJgaZ5AVASm4p8yNBcIqBokpJBi2fRMfT1YFTbUl ONCPLTZhf0dB87RI87ljp+Hv9dcf7isYHw9qKa1usaxePHkTb0wtZSLA6TQafAeqtbzh/O RhLJQORCkRH6dg88QzjbmA65SwqkaxEMap8+I/VuGW9ipKe1/9s3Cr+3aJfofM6YRsH4YG JFaYE1rsZb1RzIfKxshLgdjcXZPyrAxCpJzoR9aQayME2IJPDcZEWxV4WRDubw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=RC0qsPQS; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698629718; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=G3Do//6YOKda3lUJiVV+YFaGr/95cEnQ3ny8ld0phtI=; b=kDaFWSbIwkno9/vDIHJ2uq8UT5MT7B6EwjYqoQdNp7eR4xmws5WKAuCgvOQMM221L34/WE Y4Vn3zfrH/3OdssRHaN5DoM9Kt4M2r2kAZD9BaLTnHIAz0p2hDGdnp4uaZVwoAAT1tB0+l K5Pjqhlp9TzuEMIi8fuWKbv9BTT2hlqwPjlY1TM6DhYOcLxtcTpJBMUkOUFaM3fUUht89g zLKQHr4BHdc8TOEFTNy0KioVZXtqb0R3rdGVcT/F+gO0ixVmLA5FTJLXp/mSl+is0hgopB l1u9GxyqVZ+34oy0aREsf33fZ//ANSU2nDLtywjaMfCItMtmNPsea+BDIyCJgQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxGuJ-0003Ns-4J; Sun, 29 Oct 2023 21:17:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxGuH-0003Nd-3h for guix-patches@gnu.org; Sun, 29 Oct 2023 21:17:29 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxGuG-0004oe-SO for guix-patches@gnu.org; Sun, 29 Oct 2023 21:17:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxGun-0002FB-NW for guix-patches@gnu.org; Sun, 29 Oct 2023 21:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66829] [PATCH 1/2] gnu: Add kibi. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Oct 2023 01:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66829 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66829@debbugs.gnu.org Cc: Jaeme Sifat Received: via spool by 66829-submit@debbugs.gnu.org id=B66829.16986286688603 (code B ref 66829); Mon, 30 Oct 2023 01:18:01 +0000 Received: (at 66829) by debbugs.gnu.org; 30 Oct 2023 01:17:48 +0000 Received: from localhost ([127.0.0.1]:44060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxGuZ-0002Eg-U1 for submit@debbugs.gnu.org; Sun, 29 Oct 2023 21:17:48 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:57912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxGuY-0002EU-Cr for 66829@debbugs.gnu.org; Sun, 29 Oct 2023 21:17:47 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qxGtv-00DQcV-Dl for 66829@debbugs.gnu.org; Mon, 30 Oct 2023 02:17:07 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-Id:Date:Subject:Cc:To:From; bh=G3Do//6YOKda3lUJiVV+YFaGr/95cEnQ3ny8ld0phtI=; b=RC0qsPQShID1TYsbOOMyi1fvAw iRkiHFVGYs6klSGMYwcauQDM3qu3E3Hc70ANcqdfLmEv/olJmItmhDto8JOsbJpGXh1I7g/TpKOwO ih5gOkbuqMe97coyjWeQGpiNwcioberAKjTJ0eKjmk4nUWwxBbUSvRk1LPzrGeXVOMgAwDEZnc7C9 yeH6YdwKLpwzjfo6KnUKB0YjwqXdOqChYxemzl2m7myaXHiHRFjxMZ3XYHa5z6IbMTUfVoC3zME47 RGms6ktlmPR+dPDUlswcrUmfrvKBVyNFHftfovF34RuSJxfXT17Bhs+sdZYibiqcshiFHO0Pbj7Wh rChwAJ4Q==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qxGtv-00064D-2F for 66829@debbugs.gnu.org; Mon, 30 Oct 2023 02:17:07 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qxGtr-003rxS-9Z; Mon, 30 Oct 2023 02:17:03 +0100 Date: Sun, 29 Oct 2023 21:16:57 -0400 Message-Id: <590808999c49c4aafb5c3447b923940e8bad934e.1698628136.git.jaeme@runbox.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches From: Jaeme Sifat via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 6DC2E37321 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.20 X-Spam-Score: -6.20 X-TUID: Q2hZLHPsfsjo * 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