From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aK9WACPgPWVMOAAAauVa8A:P1 (envelope-from ) for ; Sun, 29 Oct 2023 05:31:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aK9WACPgPWVMOAAAauVa8A (envelope-from ) for ; Sun, 29 Oct 2023 05:31:31 +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 BBEF517201 for ; Sun, 29 Oct 2023 05:31:30 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=k9qXaYbB; 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=1698553890; 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=y4//lJFzx8I75P9NR68IGEoYDMKHSwD72KKWgRfking=; b=HU9uidF+jYZKjsTMrzyzKwVtSNAMAxiG2yOSnFrBwjwMUc9wcJF9Xxey/dFTE/fLEZLRUf m9xsBDuDHPjZoThXRFKCsV4j7kuAwQkWy8iTHa16nKWqwxskHKZg5A8x7EAkdTp9w7LBuN n9sd8zt6GpjwXgl/plASlgRiKpQ62gqVfUwk5huSuBzPAchhhB35LX88yGnj3hjyHKfhen //a0yb2HMkfEMqpXGD9NZn7MusUZq9yZPdzVwJolQ1oRYnn314Hhus1ci8sSzfmJfQLgwa RHc5U/vq5AwRUfx1z9BZYog+9Vm99jyjvTtzoQd8bGwp1I+W38V2zIEer3FHUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=k9qXaYbB; 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=1698553890; a=rsa-sha256; cv=none; b=Zu4L9yMePGE+cMM9p9E96WESQk8PanjxDHrC6w2AIyPCgUOtHr5meK33C4qAE7VbmM3Ulz VUXX9j1PmMlTm2sD4Mu075hetX+6Kv42ohlpkZsJOsHKUeemsWRMEt7XXEcAuaC7r/Ab2m iSCHx4y/nPgXpd8pWTj82MoLvUzBU6ARreUnyFVzbjHrE2q+NcnnkmoVSeqTpfYDBKpSjw aPioCJKPXxv6q3xz36iM7+ggTsaKfSB5SwfYOT1pimABrIQsUVee+uxBu4ba45SZcJGPmN OgIGQPUBx/TeSx7DEtZsQWzLRpXM9FBMAPTyri1i5ByOcB7p75aSPjZSKhG1uQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwxRu-0008D4-SU; Sun, 29 Oct 2023 00:30:54 -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 1qwxRc-0008B5-1u for guix-patches@gnu.org; Sun, 29 Oct 2023 00:30:43 -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 1qwxRY-0004tZ-Tf for guix-patches@gnu.org; Sun, 29 Oct 2023 00:30:35 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwxS5-0001R2-0h for guix-patches@gnu.org; Sun, 29 Oct 2023 00:31:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66805] [PATCH 21/22] gnu: Add eza. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Oct 2023 04:31:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66805 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66805@debbugs.gnu.org Cc: Jaeme Sifat Received: via spool by 66805-submit@debbugs.gnu.org id=B66805.16985538595454 (code B ref 66805); Sun, 29 Oct 2023 04:31:04 +0000 Received: (at 66805) by debbugs.gnu.org; 29 Oct 2023 04:30:59 +0000 Received: from localhost ([127.0.0.1]:40188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwxRy-0001Pp-LL for submit@debbugs.gnu.org; Sun, 29 Oct 2023 00:30:59 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:53764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwxRw-0001PV-NP for 66805@debbugs.gnu.org; Sun, 29 Oct 2023 00:30:57 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qwxRK-00BV2X-MT for 66805@debbugs.gnu.org; Sun, 29 Oct 2023 05:30:18 +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=y4//lJFzx8I75P9NR68IGEoYDMKHSwD72KKWgRfking=; b=k9qXaYbBj6PTZh/N59ojwQzd9W S6e034dS0z7OQxhDmKYpKI0Ws1pWoXlZW6kw3UCbsrnCVjf35qebvWe74RRHUC5zJ4v/KPKtlZR9l bOwzQlu0pZfTIAr8a5kCDhNtEIfLJXBfp9rT6PUey/2vKIo4zobti1aImmX2JChIQyiLtTGglQndx F8zzoj15WSguUoyzV7eY7O6sbIJHxOUYKgSqAYocov/EVlbZD45EuwBBTC5I2X26EdGA6Yvbrr4fc Dsc2omhbxWZcGtIxkv4BB1vOTByj26DtN7wUbOgxzkIdKU7Bp4BGu1fJwxyLclnxLJg6pwlz0qWp0 7xmT7adg==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qwxRK-0005n7-Cv for 66805@debbugs.gnu.org; Sun, 29 Oct 2023 05:30:18 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qwxRC-001dmK-JU; Sun, 29 Oct 2023 05:30:10 +0100 Date: Sun, 29 Oct 2023 00:27:13 -0400 Message-Id: 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-Spam-Score: -6.21 X-Spam-Score: -6.21 X-Migadu-Queue-Id: BBEF517201 X-Migadu-Scanner: mx10.migadu.com X-TUID: HMS7GMu8mZyk eza is the community-maintained successor fork to exa. Minimal changes had to be made to adapt the exa package definition to eza. * gnu/packages/rust-apps.scm (eza): New variable. Signed-off-by: Jaeme Sifat Change-Id: I0069bbbc8de55a030a52ef98b0f8d9dd0fe07317 --- gnu/packages/rust-apps.scm | 89 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index a06447143a..78ca22748f 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -463,6 +463,95 @@ (define-public exa also knows about symlinks, extended attributes, and Git.") (license license:expat))) +(define-public eza + (package + (name "eza") + (version "0.15.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "eza" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "078gdp5kamqrl7rj5q9a979xn58izqqzfi8vz0bhdxiikpjdf5b8")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-ansiterm" ,rust-ansiterm-0.12) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-git2" ,rust-git2-0.18) + ("rust-glob" ,rust-glob-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-locale" ,rust-locale-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-natord" ,rust-natord-1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-number-prefix" ,rust-number-prefix-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-phf" ,rust-phf-0.11) + ("rust-proc-mounts" ,rust-proc-mounts-0.3) + ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) + ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-timeago" ,rust-timeago-0.4) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-uutils-term-grid" ,rust-uutils-term-grid-0.3) + ("rust-uzers" ,rust-uzers-0.11) + ("rust-windows-sys" ,rust-windows-sys-0.48) + ("rust-zoneinfo-compiled" ,rust-zoneinfo-compiled-0.5)) + #:cargo-development-inputs `(("rust-criterion" ,rust-criterion-0.5) + ("rust-trycmd" ,rust-trycmd-0.14)) + #:phases #~(modify-phases %standard-phases + (add-after 'build 'build-manual + (lambda* (#:key inputs #:allow-other-keys) + (when (assoc-ref inputs "pandoc") + (map (lambda (page) + (with-output-to-file page + (lambda _ + (invoke "pandoc" + "--standalone" + "-f" + "markdown" + "-t" + "man" + (string-append "man/" page ".md"))))) + (list "eza.1" "eza_colors.5"))))) + (add-after 'install 'install-extras + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (man1 (string-append share "/man/man1")) + (man5 (string-append share "/man/man5"))) + (when (file-exists? "eza.1") + (install-file "eza.1" man1)) + (when (file-exists? "eza_colors.5") + (install-file "eza_colors.5" man5)) + (mkdir-p (string-append out "/etc/bash_completion.d")) + (mkdir-p (string-append share + "/fish/vendor_completions.d")) + (mkdir-p (string-append share "/zsh/site-functions")) + (copy-file "completions/bash/eza" + (string-append out + "/etc/bash_completion.d/eza")) + (copy-file "completions/fish/eza.fish" + (string-append share + "/fish/vendor_completions.d/eza.fish")) + (copy-file "completions/zsh/_eza" + (string-append share + "/zsh/site-functions/_eza")))))))) + (native-inputs (list pandoc pkg-config)) + (inputs (list zlib)) + (home-page "https://github.com/eza-community/eza") + (synopsis "Modern replacement for ls") + (description + "@code{eza} is a modern replacement for the command-line +program @code{ls}. It uses colours to distinguish file types and +metadata. It also knows about symlinks, extended attributes, and Git. +This package is the community maintained fork of @code{exa}.") + (license license:expat))) + (define-public fd (package (name "fd") -- 2.34.1