From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KIWsLUUlRGc/5gAAe85BDQ:P1 (envelope-from ) for ; Mon, 25 Nov 2024 07:20:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KIWsLUUlRGc/5gAAe85BDQ (envelope-from ) for ; Mon, 25 Nov 2024 08:20:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Ecr3niHP; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="Wmt/+5LI"; 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=1732519237; a=rsa-sha256; cv=none; b=JwKKYpmHbrlMw+S2LGBMpRLQ0Dk80+oYjiC04XCQ5iKyVii3iGI5x/MvAL5w/lHz4cmne6 wDZEvheT4OBNGpeNGS5DAoYuZLew1eEm9e2VXEf88itSMEIC24+gCvDvKDsyn6SWo7AgIJ 9gXKQ5Kwp1GHv099EvuPapYP/MntmdCI/H4YrvyPOGAO0aruMBFQybV/qq5McUoFqoLBwP tnk4/diRPtM0ZPvRx6eBEjYJgaILUH7gu7lRktN/8ovXT7ReRocPFP65JClkxVNDYo5WaS p4E5eLeBIbaxx04yQ5Gqlppi/jPxzHQ9xtzNn+t0ho8WNVGi0T/2J2Z3rGlP5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Ecr3niHP; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="Wmt/+5LI"; 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=1732519237; 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-type:content-type: 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=MjzZJqiIJWnTtrKpm3V96DFSDwjdNhOY0LjI2KQcMyo=; b=VNQ5AuJaUY1/dP7zVu6aX/f83lOtRli+FGz4STajuSjr80S6R5BStqyPqx3n+y+euh5HuE ArDp5cnPb0l7+gy7n3yQfiZ3vbUFijzhanGsp8P4hMcCQiNnGdEDyMPVLl+NkR7/wXGQ/s +bsNjk8FYy+HI3JOCoUWGnj8nBqfCGIioxuPc79X9phq5nP08L4wZMMCbM4NucaIfqvIac jpNYIsqoUtxPuKvgF/6Y05kABKPLmex6mAg8KXt8whs4MrBTPJBXtdUVr6XrS0sBAN2G72 pVRfSYimUHOql2zD6pSfeJ/3ZN5sSo/VHorLtEaUGyB0yE1UZWw00QUcI41VwA== 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 557681262 for ; Mon, 25 Nov 2024 08:20:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFTMu-0004pR-75; Mon, 25 Nov 2024 02:18:48 -0500 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 1tFPFf-0003Lc-KQ for guix-patches@gnu.org; Sun, 24 Nov 2024 21:55:04 -0500 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 1tFPFe-000250-Uu for guix-patches@gnu.org; Sun, 24 Nov 2024 21:55:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=MjzZJqiIJWnTtrKpm3V96DFSDwjdNhOY0LjI2KQcMyo=; b=Ecr3niHPfO6T66+z5FMIS0DfS7rj1Nath1bBechvPyAleJf2BofLHeaE0cahBC2G3GNGI0rIQrbkEz0R5AdPMPqDvMwDzW1SJ3zqTiUD+3jk7fgUy7WK8a1OBYbEhBPChZqbkktPXymgesitfSGskyADTwQdgh+5nQGzg2ltEGxiy6gr8+Ef/YQ8kZTbXTzfHLkhmxFxyZbDhL9iVLCrddrIK1GdAFczPgLdH529TdPKsVWS9m3qV8aUiFv9krO1B/zCqHaODSefDheq7Ng5R7SNEJoKFPqqNqVUEV+JB3l7d+W+P91j9PwA+N9ItFSEMDcquOstlu84iDl7MCUvxA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFPFd-0002kr-QM; Sun, 24 Nov 2024 21:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74519] [PATCH rust-team 01/30] gnu: Add helix. Resent-From: Murilo Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 25 Nov 2024 02:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74519 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74519@debbugs.gnu.org Cc: Murilo , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74519-submit@debbugs.gnu.org id=B74519.173250328410555 (code B ref 74519); Mon, 25 Nov 2024 02:55:01 +0000 Received: (at 74519) by debbugs.gnu.org; 25 Nov 2024 02:54:44 +0000 Received: from localhost ([127.0.0.1]:36735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFPFL-0002kA-8C for submit@debbugs.gnu.org; Sun, 24 Nov 2024 21:54:43 -0500 Received: from layka.disroot.org ([178.21.23.139]:42418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFPFH-0002jx-7R for 74519@debbugs.gnu.org; Sun, 24 Nov 2024 21:54:41 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BE7A125229; Mon, 25 Nov 2024 03:54:37 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ntg3yn5xhXwr; Mon, 25 Nov 2024 03:54:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1732503273; bh=j2O3wYl16+KzcV2u2XUhWX6ZSmTD5z5IhcC+OYHLCSc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Wmt/+5LIqezsysS68hgkXDrgW6OGVUImSB/bpxaUuXOO4pFQA/Uk4uwqi1hfaOm9f Fu77CHnybaInlsS26jUK1dvm8KqvhiJ4VZXWaVHahkHMVEV0XxzgOh+28NWT/svAf1 LuA1Pa4tCA/cuQR9j/n9Rr9xNgtJXb5b0aM+GjoTpX/mYWHdNgPbo2ARZAtGInTeW7 mY24uk13QHdh2mN7/Jxhvt8K74weLwQXmVIobT/tjmF0baqYafXGWiV0PiQOcBtH44 2agOQHqRwNq05XvnD8B3mMUaa44xHXgR5cOFJRib/r4NPTB0AUvufdUzjOjJj6E8XH IjHgxXDxkZaEg== Date: Sun, 24 Nov 2024 23:48:12 -0300 Message-ID: <91c59b75534bacc61113de560c690da45c89f413.1732501656.git.murilo@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 25 Nov 2024 02:18:45 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Murilo X-ACL-Warn: , Murilo via Guix-patches From: Murilo 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-Spam-Score: 0.37 X-Spam-Score: 0.37 X-Migadu-Queue-Id: 557681262 X-Migadu-Scanner: mx12.migadu.com X-TUID: ujIqqD7vWytz * gnu/packages/rust-apps.scm (helix): New variable. Change-Id: Ib2d83d3985f09e19601b126749b9a7faa4926bb9 --- gnu/packages/rust-apps.scm | 108 +++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 652793755b..546a8f71a1 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Suhail Singh ;;; Copyright © 2024 Jordan Moore +;;; Copyright © 2024 Murilo ;;; ;;; This file is part of GNU Guix. ;;; @@ -999,6 +1000,113 @@ (define-public gitui (description "This package provides a fast Terminal UI for git.") (license license:expat))) +(define-public helix + (package + (name "helix") + (version "24.07") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/helix-editor/helix") + (commit version))) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "Cargo.lock"))) + (file-name (git-file-name "helix" version)) + (sha256 + (base32 "1f0l65z1cy8m9x79p5y5kwk1psv0ppfz9lwylggm71q0lj127awl")))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:phases ,#~(modify-phases %standard-phases + (add-after 'unpack 'disable-grammar-build + (lambda _ + (setenv "HELIX_DISABLE_AUTO_GRAMMAR_BUILD" "1"))) + (replace 'install + (lambda _ + (let* ((bin (string-append #$output "/bin")) + (hx (string-append bin "/hx")) + (share (string-append #$output + "/usr/share/helix")) + (runtime (string-append share "/runtime")) + (applications (string-append #$output + "/share/applications"))) + (install-file "target/release/hx" bin) + (install-file "contrib/Helix.desktop" applications) + (copy-recursively "runtime" runtime) + (wrap-program hx + `("HELIX_RUNTIME" prefix + (,runtime))))))) + #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-arc-swap" ,rust-arc-swap-1) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-cc" ,rust-cc-1) + ("rust-chardetng" ,rust-chardetng-0.1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clipboard-win" ,rust-clipboard-win-5) + ("rust-content-inspector" ,rust-content-inspector-0.2) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-dunce" ,rust-dunce-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-etcetera" ,rust-etcetera-0.8) + ("rust-fern" ,rust-fern-0.6) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gix" ,rust-gix-0.63) + ("rust-globset" ,rust-globset-0.4) + ("rust-grep-regex" ,rust-grep-regex-0.1) + ("rust-grep-searcher" ,rust-grep-searcher-0.1) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-imara-diff" ,rust-imara-diff-0.1) + ("rust-indoc" ,rust-indoc-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-lsp-types" ,rust-lsp-types-0.95) + ("rust-nucleo" ,rust-nucleo-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-open" ,rust-open-5) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.11) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-regex" ,rust-regex-1) + ("rust-regex-cursor" ,rust-regex-cursor-0.1) + ("rust-ropey" ,rust-ropey-1) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-signal-hook-tokio" ,rust-signal-hook-tokio-0.3) + ("rust-slotmap" ,rust-slotmap-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-termini" ,rust-termini-1) + ("rust-textwrap" ,rust-textwrap-0.16) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-threadpool" ,rust-threadpool-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-toml" ,rust-toml-0.8) + ("rust-tree-sitter" ,rust-tree-sitter-0.22) + ("rust-unicode-general-category" + ,rust-unicode-general-category-0.6) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-url" ,rust-url-2) + ("rust-which" ,rust-which-6) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) + (inputs (list bash-minimal)) + (native-inputs (list git)) + (home-page "https://helix-editor.com/") + (synopsis "Post-modern modal text editor") + (description "A Kakoune / Neovim inspired editor, written in Rust.") + (license (list license:mpl2.0)))) + (define-public helvum (package (name "helvum") -- 2.46.0