From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ONAZBvFHbWcWjgAA62LTzQ:P1 (envelope-from ) for ; Thu, 26 Dec 2024 12:11:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id ONAZBvFHbWcWjgAA62LTzQ (envelope-from ) for ; Thu, 26 Dec 2024 13:11:29 +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=W4ZACW03; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=QySwZVtv; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735215088; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=L8Mz1MBpybQ2dPWmyQQbOHKeNuY11aZww6MPsaw81i4=; b=dqAwi83KGrkgXQPvk4gFOb3W86vWtjQDYsah5q29GFhYm0/UvMH4DJGQQMBKAdusIcDviA adYxRxUcUIOssqJfZdug7xJexeK/B2VhRy0UTLstspaEGEhBCZEgZP1XIF7CcieMHAyO2i arfEQ56ecI6sdBcJa6/1EwReiurjzie7+USFi1AoEyJB0u/To5KBhpiF8fQyxLcJ0gVQTe ffbWOT/rikVFXWlA6pyaVjWdIaEdIrGCwpQutf/V7XlZ2Rstt4NS/J3bJfWcVp5iEqiUQq BcEoMDZEvypHvCc2dCDMUkpN0vEegCpPFaVd1JIG1saAerXRayPW/Xkb5fc00A== 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=W4ZACW03; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=QySwZVtv; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735215088; a=rsa-sha256; cv=none; b=cehYfxRzl2cyyz0KJBKsnTn+F5XJZH5pwqmOf3NMitXMz4vdrmmbtfaUHRH202UcG7XATX 9Aus3AXFJwYp4fcAVBbxXd9BcPv+5ywLALcZzoNGZ9yPleuSEPx6o32/8oSTeASO8X9jZ8 lXME3ulgoGpDEHfVHaysTiWPL9IyUn7ykE6MFlJw1KfgulGavm2/rTckmHou0zju0Dtx9C nuSIw5jMlTxyl9kccHbRou5kQoYY0eY2R4lqwaV9PomXy4TIOfxAVXwIC973BPssJvGrJS W3UZblvGx8KgpMGPl1nrhpchY0KwV7I5GEe/P00t7Z34vifbkCt1jDFsTBUeCA== 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 76A9A1B606 for ; Thu, 26 Dec 2024 13:11:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQmhn-0006dy-Ib; Thu, 26 Dec 2024 07:11:09 -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 1tQmhj-0006dX-Iv for guix-patches@gnu.org; Thu, 26 Dec 2024 07:11:03 -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 1tQmhj-0004D7-9G for guix-patches@gnu.org; Thu, 26 Dec 2024 07:11: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:Date:From:To:Subject; bh=L8Mz1MBpybQ2dPWmyQQbOHKeNuY11aZww6MPsaw81i4=; b=W4ZACW03DcpkMAZ91r6z3NONuQ+e76gtsXfduihPXi8Dc3VNO6ClItR3Py8/FhJu4qbfR3bxgaqD4/f9oPhh1AvRZ3GyJdH1lOSLcYeeSIrjLpedAnV7B+1liaY6xbar6TioDlwEu0j9SS+Funq92RvRTT/5O4DbU/F2ur9VkYVNiqNjoTyX6X+xKIe7nOzA+y2oMNqtnHAQ86wB56uj+VFd80scBJfTeBx0QXQvYEoxImenyXPWFdIeC1YQVLr7F6LVOEdurUpvp08Q8BLG93j6UugaS1NfmOLm1LWgyhfGfsTej3/N5Yigvp+LWE1d43kq2uYA/EtI+Hvep/Ha4g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQmhh-0002m7-UI; Thu, 26 Dec 2024 07:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75115] [PATCH rust-team] gnu: nushell: Move to (gnu packages crates-nu) with dependencies. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 26 Dec 2024 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75115 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75115@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by submit@debbugs.gnu.org id=B.173521505410642 (code B ref -1); Thu, 26 Dec 2024 12:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Dec 2024 12:10:54 +0000 Received: from localhost ([127.0.0.1]:40368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQmha-0002la-ON for submit@debbugs.gnu.org; Thu, 26 Dec 2024 07:10:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:56984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQmhZ-0002lR-Dd for submit@debbugs.gnu.org; Thu, 26 Dec 2024 07:10:53 -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 1tQmhY-0006cs-PB for guix-patches@gnu.org; Thu, 26 Dec 2024 07:10:53 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117] helo=email.rimm.ee) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tQmhT-0004AS-EU for guix-patches@gnu.org; Thu, 26 Dec 2024 07:10:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735215035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L8Mz1MBpybQ2dPWmyQQbOHKeNuY11aZww6MPsaw81i4=; b=QySwZVtvU1gcAaONMvhgoG+Flra69EvJXj8xjUXwerwLcP5+x/6eENnJIFosptXpWCSy/N WKXBeqTW7MkGm+Lm7OFrVp4HTK9bm9EmqYoUPjpZQyZXDnXNn6mP3TlUfFkWW/r3IYZSmK SSN4WULejEgKZEgJ25lUH5VPEsl6LO2rAcgeCaXBSD7jmzr5+ak+LFCvVzE9I0dahAgJO4 Q6BheqRKwEZQeiIOZRCpXC9S2I/nWCKavGh4zcfE+UVFANCXWJaUXMdSdN/bbh4UUNgexZ 8/sHElK2dueZcRjDo5OPjfoI1Vw1EpZYRQpRRd1sX+l+lpk8FRKLSsyvl/HXnA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 9fba75c9 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Thu, 26 Dec 2024 12:10:35 +0000 (UTC) Date: Thu, 26 Dec 2024 13:09:52 +0100 Message-ID: <3d9071c19797d0384f8ecdad6fbcc8dcd03ba3fc.1735214168.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=81.205.150.117; envelope-from=herman@rimm.ee; helo=email.rimm.ee X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.21 X-Spam-Score: -5.21 X-Migadu-Queue-Id: 76A9A1B606 X-Migadu-Scanner: mx10.migadu.com X-TUID: F6MqSi+GyIh8 * gnu/local.mk (GNU_SYSTEM_MODULES): Register file. * gnu/packages/crates-io.scm: Import (gnu packages crates-nu). * gnu/packages/rust-apps.scm: Import (gnu packages crates-nu). * gnu/packages/shells.scm (nushell): Deprecate. (rust-nu-ansi-term-0.50, rust-nu-ansi-term-0.49, rust-nu-ansi-term-0.46, rust-nu-ansi-term-0.44, rust-nu-cli-0.91, rust-nu-cmd-base-0.91, rust-nu-cmd-dataframe-0.91, rust-nu-cmd-extra-0.91, rust-nu-cmd-lang-0.91, rust-nu-color-config-0.91, rust-nu-command-0.91, rust-nu-engine-0.91, rust-nu-explore-0.91, rust-nu-glob-0.91, rust-nu-json-0.91, rust-nu-lsp-0.91, rust-nu-parser-0.91, rust-nu-path-0.91, rust-nu-plugin-0.91, rust-nu-pretty-hex-0.91, rust-nu-protocol-0.91, rust-nu-std-0.91, rust-nu-system-0.91, rust-nu-table-0.91, rust-nu-term-grid-0.91, rust-nu-test-support-0.91, rust-nu-utils-0.91): Move ... * gnu/packages/crates-nu.scm: ... to here. * gnu/packages/shellutils.scm: Import (gnu packages crates-nu). Change-Id: I4f515e897da9bbc7e68599409562efc04a142578 --- gnu/local.mk | 1 + gnu/packages/crates-io.scm | 2 +- gnu/packages/crates-nu.scm | 1044 +++++++++++++++++++++++++++++++++++ gnu/packages/rust-apps.scm | 2 +- gnu/packages/shells.scm | 1022 +--------------------------------- gnu/packages/shellutils.scm | 1 + 6 files changed, 1051 insertions(+), 1021 deletions(-) create mode 100644 gnu/packages/crates-nu.scm diff --git a/gnu/local.mk b/gnu/local.mk index 0e11eaaea4..ef1a3c8487 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -216,6 +216,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/crates-io.scm \ %D%/packages/crates-graphics.scm \ %D%/packages/crates-gtk.scm \ + %D%/packages/crates-nu.scm \ %D%/packages/crates-tls.scm \ %D%/packages/crates-vcs.scm \ %D%/packages/crates-web.scm \ diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b3d9bcd783..57c116c5e3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -88,6 +88,7 @@ (define-module (gnu packages crates-io) #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-gtk) + #:use-module (gnu packages crates-nu) #:use-module (gnu packages crates-tls) #:use-module (gnu packages crates-vcs) #:use-module (gnu packages crates-web) @@ -123,7 +124,6 @@ (define-module (gnu packages crates-io) #:use-module (gnu packages selinux) #:use-module (gnu packages sequoia) #:use-module (gnu packages serialization) - #:use-module (gnu packages shells) #:use-module (gnu packages sqlite) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) diff --git a/gnu/packages/crates-nu.scm b/gnu/packages/crates-nu.scm new file mode 100644 index 0000000000..da4dae6313 --- /dev/null +++ b/gnu/packages/crates-nu.scm @@ -0,0 +1,1044 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020, 2022, 2024 Efraim Flashner +;;; Copyright © 2020, 2022 Marius Bakke +;;; Copyright © 2021, 2022 Nicolas Goaziou +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages crates-nu) + #:use-module (gnu packages c) + #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-tls) + #:use-module (gnu packages crates-web) + #:use-module (gnu packages crates-windows) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages tls) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + +(define-public rust-nu-0.91 + (package + (name "rust-nu") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zrw4jv57iwijd684vf43rw5sc9r0aq38shaizj96jqrgb8g9nja")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + ;; Not all files included + "--skip=tests::test_config_path::test_alternate_config_path" + "--skip=tests::test_config_path::test_default_config_path" + "--skip=tests::test_config_path::test_default_config_path_symlinked_config_files" + "--skip=tests::test_config_path::test_default_symlink_config_path_broken_symlink_config_files" + "--skip=tests::test_config_path::test_default_symlinked_config_path_empty" + ;; Path not available inside build environment + "--skip=path::canonicalize::canonicalize_tilde" + "--skip=path::canonicalize::canonicalize_tilde_relative_to" + ;; could not get mutex lock: PoisonError { .. } + "--skip=plugins::config::closure" + "--skip=plugins::config::none" + "--skip=plugins::config::record" + "--skip=plugins::core_inc::by_one_with_field_passed" + "--skip=plugins::core_inc::by_one_with_no_field_passed" + "--skip=plugins::core_inc::chooses_highest_increment_if_given_more_than_one" + "--skip=plugins::core_inc::explicit_flag" + "--skip=plugins::core_inc::semversion_major_inc" + "--skip=plugins::core_inc::semversion_minor_inc" + "--skip=plugins::core_inc::semversion_patch_inc" + "--skip=plugins::core_inc::semversion_without_passing_field" + "--skip=plugins::custom_values::can_generate_and_updated_multiple_types_of_custom_values" + "--skip=plugins::custom_values::can_get_custom_value_from_plugin_and_instantly_collapse_it" + "--skip=plugins::custom_values::can_get_custom_value_from_plugin_and_pass_it_over" + "--skip=plugins::custom_values::can_get_custom_value_from_plugin_and_pass_it_over_as_an_argument" + "--skip=plugins::custom_values::can_get_describe_plugin_custom_values" + "--skip=plugins::custom_values::fails_if_passing_custom_values_across_plugins" + "--skip=plugins::custom_values::fails_if_passing_engine_custom_values_to_plugins" + "--skip=plugins::formats::eml::from_eml_get_another_header_field" + "--skip=plugins::formats::eml::from_eml_get_replyto_field" + "--skip=plugins::formats::eml::from_eml_get_subject_field" + "--skip=plugins::formats::eml::from_eml_get_to_field" + "--skip=plugins::formats::ics::from_ics_text_to_table" + "--skip=plugins::formats::ics::from_ics_text_with_linebreak_to_table" + "--skip=plugins::formats::ics::infers_types" + "--skip=plugins::formats::ini::parses_ini" + "--skip=plugins::formats::ini::parses_utf16_ini" + "--skip=plugins::formats::ini::read_ini_with_missing_session" + "--skip=plugins::formats::vcf::from_vcf_text_to_table" + "--skip=plugins::formats::vcf::from_vcf_text_with_linebreak_to_table" + "--skip=plugins::formats::vcf::infers_types" + "--skip=plugins::register::help" + "--skip=plugins::register::search_terms" + "--skip=plugins::stream::collect_external_accepts_list_of_binary" + "--skip=plugins::stream::collect_external_accepts_list_of_string" + "--skip=plugins::stream::collect_external_big_stream" + "--skip=plugins::stream::collect_external_produces_raw_input" + "--skip=plugins::stream::seq_big_stream" + "--skip=plugins::stream::seq_describe_no_collect_succeeds_without_error" + "--skip=plugins::stream::seq_produces_stream" + "--skip=plugins::stream::seq_stream_collects_to_correct_list" + "--skip=plugins::stream::sum_accepts_list_of_float" + "--skip=plugins::stream::sum_accepts_list_of_int" + "--skip=plugins::stream::sum_accepts_stream_of_float" + "--skip=plugins::stream::sum_accepts_stream_of_int" + "--skip=plugins::stream::sum_big_stream") + #:features '("extra") + #:install-source? #f + #:cargo-inputs + (("rust-crossterm" ,rust-crossterm-0.27) + ("rust-ctrlc" ,rust-ctrlc-3) + ("rust-log" ,rust-log-0.4) + ("rust-miette" ,rust-miette-7) + ("rust-mimalloc" ,rust-mimalloc-0.1) + ("rust-nix" ,rust-nix-0.27) + ("rust-nu-cli" ,rust-nu-cli-0.91) + ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) + ("rust-nu-cmd-dataframe" ,rust-nu-cmd-dataframe-0.91) + ("rust-nu-cmd-extra" ,rust-nu-cmd-extra-0.91) + ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) + ("rust-nu-command" ,rust-nu-command-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-explore" ,rust-nu-explore-0.91) + ("rust-nu-lsp" ,rust-nu-lsp-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-plugin" ,rust-nu-plugin-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-std" ,rust-nu-std-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-reedline" ,rust-reedline-0.30) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-simplelog" ,rust-simplelog-0.12) + ("rust-time" ,rust-time-0.3) + ("rust-winresource" ,rust-winresource-0.1)) + #:cargo-development-inputs + (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-divan" ,rust-divan-0.1) + ("rust-nu-test-support" ,rust-nu-test-support-0.91) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list mimalloc openssl)) + (home-page "https://www.nushell.sh") + (synopsis "Shell with a structured approach to the command line") + (description + "Nu draws inspiration from projects like PowerShell, functional +programming languages, and modern CLI tools. Rather than thinking of files +and services as raw streams of text, Nu looks at each input as something with +structure. For example, when you list the contents of a directory, what you +get back is a table of rows, where each row represents an item in that +directory. These values can be piped through a series of steps, in a series +of commands called a ``pipeline''.") + (license license:expat))) + +(define-public rust-nu-ansi-term-0.50 + (package + (name "rust-nu-ansi-term") + (version "0.50.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16a3isvbxx8pa3lk71h3cq2fsx2d17zzq42j4mhpxy81gl2qx8nl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/nushell/nu-ansi-term") + (synopsis "Library for ANSI terminal colors and styles (bold, underline)") + (description + "This package is a library for ANSI terminal colors and styles (bold, +underline).") + (license license:expat))) + +(define-public rust-nu-ansi-term-0.49 + (package + (inherit rust-nu-ansi-term-0.50) + (name "rust-nu-ansi-term") + (version "0.49.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s2svfnircd9jp06wk55qcbb9v5cadkfcjfg99vm21qdjg0x6wy0")))) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-nu-ansi-term-0.46 + (package + (inherit rust-nu-ansi-term-0.49) + (name "rust-nu-ansi-term") + (version "0.46.0") + (source (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "115sywxh53p190lyw97alm14nc004qj5jm5lvdj608z84rbida3p")))) + (arguments + `(#:cargo-inputs + (("rust-overload" ,rust-overload-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-nu-ansi-term-0.44 + (package + (inherit rust-nu-ansi-term-0.49) + (name "rust-nu-ansi-term") + (version "0.44.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lmc9rdqnw586gv4a0c2gbg3x4a04fy65xk3fczby8lq84rz41i3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-overload" ,rust-overload-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-nu-cli-0.91 + (package + (name "rust-nu-cli") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v7xz13n5gzhwkn4d8wq1v22zbdvfqd2zxnqf2q3k8cnnj51ql63")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; 42 of 45 of the completions tests fail. + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-is-executable" ,rust-is-executable-1) + ("rust-log" ,rust-log-0.4) + ("rust-lscolors" ,rust-lscolors-0.17) + ("rust-miette" ,rust-miette-7) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) + ("rust-nu-color-config" ,rust-nu-color-config-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pathdiff" ,rust-pathdiff-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-reedline" ,rust-reedline-0.30) + ("rust-sysinfo" ,rust-sysinfo-0.30) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-uuid" ,rust-uuid-1) + ("rust-which" ,rust-which-6)) + #:cargo-development-inputs + (("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) + ("rust-nu-command" ,rust-nu-command-0.91) + ("rust-nu-test-support" ,rust-nu-test-support-0.91) + ("rust-rstest" ,rust-rstest-0.18)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-cli") + (synopsis "CLI-related functionality for Nushell") + (description "This package provides CLI-related functionality for Nushell.") + (license license:expat))) + +(define-public rust-nu-cmd-base-0.91 + (package + (name "rust-nu-cmd-base") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-base" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i2bdvhl1qmpzrip4b45xr4vg0himfsi120xq5al9vs5y80x2lla")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) + ("rust-miette" ,rust-miette-7) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-base") + (synopsis "Foundation tools to build Nushell commands") + (description + "This package provides the foundation tools to build Nushell commands.") + (license license:expat))) + +(define-public rust-nu-cmd-dataframe-0.91 + (package + (name "rust-nu-cmd-dataframe") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-dataframe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1avsx50kr0snbm62l91v7a7wfq05igv5aagwhczm1g4xdpl448x9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-num" ,rust-num-0.4) + ("rust-polars" ,rust-polars-0.37) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-io" ,rust-polars-io-0.37) + ("rust-polars-ops" ,rust-polars-ops-0.37) + ("rust-polars-plan" ,rust-polars-plan-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-serde" ,rust-serde-1) + ("rust-sqlparser" ,rust-sqlparser-0.43)) + #:cargo-development-inputs (("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-dataframe") + (synopsis "Nushell's dataframe commands based on polars") + (description + "This package contains nushell's dataframe commands based on polars.") + (license license:expat))) + +(define-public rust-nu-cmd-extra-0.91 + (package + (name "rust-nu-cmd-extra") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-extra" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x905m6yci5n3ir89arq7vdvx0czqpjvr3j8i32f7bqh0z3jisc3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-heck" ,rust-heck-0.4) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-json" ,rust-nu-json-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rust-embed" ,rust-rust-embed-8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-v-htmlescape" ,rust-v-htmlescape-0.15)) + #:cargo-development-inputs + (("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) + ("rust-nu-command" ,rust-nu-command-0.91) + ("rust-nu-test-support" ,rust-nu-test-support-0.91)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-extra") + (synopsis "Nushell's extra commands") + (description "This package contains nushell's extra commands that are not +part of the 1.0 api standard.") + (license license:expat))) + +(define-public rust-nu-cmd-lang-0.91 + (package + (name "rust-nu-cmd-lang") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-lang" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zwdw3y4jn6s6h41jnwljpj9cfyhr68av61idikjkhi7l6hygy5c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-itertools" ,rust-itertools-0.12) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-shadow-rs" ,rust-shadow-rs-0.26)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-lang") + (synopsis "Nushell's core language commands") + (description "This package provides nushell's core language commands.") + (license license:expat))) + +(define-public rust-nu-color-config-0.91 + (package + (name "rust-nu-color-config") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-color-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "115bha7r4sy19w80vbbfc3av9g0pa1fcksdaqznm0yjlykv49czy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=style_computer::test_computable_style_closure_basic" + "--skip=style_computer::test_computable_style_closure_errors") + #:cargo-inputs (("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-json" ,rust-nu-json-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-nu-test-support" ,rust-nu-test-support-0.91)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-color-config") + (synopsis "Color configuration code used by Nushell") + (description "This package contains color configuration code used by Nushell.") + (license license:expat))) + +(define-public rust-nu-command-0.91 + (package + (name "rust-nu-command") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-command" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jiz6bndkwfnhs4cc74am8krnhyb5kyq310nf7ma5038q6vqs8q9")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-alphanumeric-sort" ,rust-alphanumeric-sort-1) + ("rust-base64" ,rust-base64-0.21) + ("rust-bracoxide" ,rust-bracoxide-0.1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-calamine" ,rust-calamine-0.24) + ("rust-chardetng" ,rust-chardetng-0.1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-humanize" ,rust-chrono-humanize-0.2) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-csv" ,rust-csv-1) + ("rust-dialoguer" ,rust-dialoguer-0.11) + ("rust-digest" ,rust-digest-0.10) + ("rust-dtparse" ,rust-dtparse-2) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-filesize" ,rust-filesize-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-fs-extra" ,rust-fs-extra-1) + ("rust-human-date-parser" ,rust-human-date-parser-0.1) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-indicatif" ,rust-indicatif-0.17) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-lscolors" ,rust-lscolors-0.17) + ("rust-md-5" ,rust-md-5-0.10) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-nix" ,rust-nix-0.27) + ("rust-notify-debouncer-full" ,rust-notify-debouncer-full-0.3) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) + ("rust-nu-color-config" ,rust-nu-color-config-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-glob" ,rust-nu-glob-0.91) + ("rust-nu-json" ,rust-nu-json-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-system" ,rust-nu-system-0.91) + ("rust-nu-table" ,rust-nu-table-0.91) + ("rust-nu-term-grid" ,rust-nu-term-grid-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-open" ,rust-open-5) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-pathdiff" ,rust-pathdiff-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-print-positions" ,rust-print-positions-0.6) + ("rust-procfs" ,rust-procfs-0.16) + ("rust-quick-xml" ,rust-quick-xml-0.31) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-roxmltree" ,rust-roxmltree-0.19) + ("rust-rusqlite" ,rust-rusqlite-0.31) + ("rust-same-file" ,rust-same-file-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sysinfo" ,rust-sysinfo-0.30) + ("rust-tabled" ,rust-tabled-0.14) + ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-titlecase" ,rust-titlecase-2) + ("rust-toml" ,rust-toml-0.8) + ("rust-trash" ,rust-trash-3) + ("rust-umask" ,rust-umask-2) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-ureq" ,rust-ureq-2) + ("rust-url" ,rust-url-2) + ("rust-uu-cp" ,rust-uu-cp-0.0.23) + ("rust-uu-mkdir" ,rust-uu-mkdir-0.0.23) + ("rust-uu-mktemp" ,rust-uu-mktemp-0.0.23) + ("rust-uu-mv" ,rust-uu-mv-0.0.23) + ("rust-uu-whoami" ,rust-uu-whoami-0.0.23) + ("rust-uuid" ,rust-uuid-1) + ("rust-v-htmlescape" ,rust-v-htmlescape-0.15) + ("rust-wax" ,rust-wax-0.6) + ("rust-which" ,rust-which-6) + ("rust-windows" ,rust-windows-0.52) + ("rust-winreg" ,rust-winreg-0.52)) + #:cargo-development-inputs + (("rust-dirs-next" ,rust-dirs-next-2) + ("rust-mockito" ,rust-mockito-1) + ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) + ("rust-nu-test-support" ,rust-nu-test-support-0.91) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-rstest" ,rust-rstest-0.18)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-command") + (synopsis "Nushell's built-in commands") + (description "This package contains nushell's built-in commands.") + (license license:expat))) + +(define-public rust-nu-engine-0.91 + (package + (name "rust-nu-engine") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-engine" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j4g3nhg9yw7nilnf3n1k4yfn5glmd3vbap1zxwzz24xw7ap62c7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nu-glob" ,rust-nu-glob-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-engine") + (synopsis "Nushell's evaluation engine") + (description "This package provides nushell's evaluation engine.") + (license license:expat))) + +(define-public rust-nu-explore-0.91 + (package + (name "rust-nu-explore") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-explore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j1xry4idjxrnyfz9l227s5hd82635dqc72gyw4zwq35izjrgqmm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ansi-str" ,rust-ansi-str-0.8) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-lscolors" ,rust-lscolors-0.17) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-color-config" ,rust-nu-color-config-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-json" ,rust-nu-json-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-table" ,rust-nu-table-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-ratatui" ,rust-ratatui-0.26) + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2) + ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-explore") + (synopsis "Nushell table pager") + (description "This package contains the nushell table pager.") + (license license:expat))) + +(define-public rust-nu-glob-0.91 + (package + (name "rust-nu-glob") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-glob" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "094jkfb7rlcl0dxs5gnw8x30zv75s372l72zsg1wmv8lblzbfybx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=test::test_iteration_errors") + #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-glob") + (synopsis "Support for matching file paths against Unix shell style patterns") + (description + "This package provides support for matching file paths against Unix shell +style patterns.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-nu-json-0.91 + (package + (name "rust-nu-json") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ga6kmmavd3rxjkk3j7jm6kjg2ny066a713ccca9nj0i9gbm6b1h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-linked-hash-map" ,rust-linked-hash-map-0.5) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-json") + (synopsis "Human JSON (Hjson) serialization file format") + (description "This crate is a Rust library for parsing and generating Human +JSON Hjson. It is built upon Serde, a high performance generic serialization +framework.") + (license license:expat))) + +(define-public rust-nu-lsp-0.91 + (package + (name "rust-nu-lsp") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-lsp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sj61lnw74jrd7az9b5367gk4qry06s783k5vqgjznx4nqvr80xj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=diagnostics::tests::publish_diagnostics_fixed_unknown_variable" + "--skip=diagnostics::tests::publish_diagnostics_variable_does_not_exists" + "--skip=notification::tests::hover_correct_documentation_on_let" + "--skip=notification::tests::hover_on_command_after_full_content_change" + "--skip=notification::tests::hover_on_command_after_partial_content_change" + "--skip=notification::tests::open_document_with_utf_char" + "--skip=tests::complete_command_with_space" + "--skip=tests::complete_command_with_utf_line" + "--skip=tests::complete_on_variable" + "--skip=tests::goto_definition_of_command" + "--skip=tests::goto_definition_of_command_parameter" + "--skip=tests::goto_definition_of_variable" + "--skip=tests::hover_on_command" + "--skip=tests::hover_on_variable") + #:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-lsp-server" ,rust-lsp-server-0.7) + ("rust-lsp-types" ,rust-lsp-types-0.95) + ("rust-miette" ,rust-miette-7) + ("rust-nu-cli" ,rust-nu-cli-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-reedline" ,rust-reedline-0.30) + ("rust-ropey" ,rust-ropey-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs + (("rust-assert-json-diff" ,rust-assert-json-diff-2) + ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) + ("rust-nu-command" ,rust-nu-command-0.91) + ("rust-nu-test-support" ,rust-nu-test-support-0.91)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-lsp") + (synopsis "Nushell's integrated LSP server") + (description "This package contains nushell'e integrated LSP server.") + (license license:expat))) + +(define-public rust-nu-parser-0.91 + (package + (name "rust-nu-parser") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "110jgz6lr0bi6904k63yqbsrcgfrpn044j2xz9if8akprk4p5w4z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytesize" ,rust-bytesize-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-plugin" ,rust-nu-plugin-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs (("rust-rstest" ,rust-rstest-0.18)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-parser") + (synopsis "Nushell's parser") + (description "This package contains nushell's parser") + (license license:expat))) + +(define-public rust-nu-path-0.91 + (package + (name "rust-nu-path") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-path" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "146lm48vna9w5kr46dclqmzl1cbz5k7j1zz6jl8i6d83np4nn1sa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dirs-next" ,rust-dirs-next-2) + ("rust-omnipath" ,rust-omnipath-0.1) + ("rust-pwd" ,rust-pwd-1)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-path") + (synopsis "Path handling library for Nushell") + (description "This package provides path handling library for Nushell.") + (license license:expat))) + +(define-public rust-nu-plugin-0.91 + (package + (name "rust-nu-plugin") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-plugin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "054hmmz78njl6qhpcbbifip5r879ipa2j3y5ndlj588b9qaijvva")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-log" ,rust-log-0.4) + ("rust-miette" ,rust-miette-7) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-typetag" ,rust-typetag-0.2)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-plugin") + (synopsis "Functionality for building Nushell plugins") + (description + "This package contains functionality for building Nushell plugins.") + (license license:expat))) + +(define-public rust-nu-pretty-hex-0.91 + (package + (name "rust-nu-pretty-hex") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-pretty-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iq8amp5hqf2xxp5n74l5sgqv2bj204zwbjcnarhy88ijzjicrl6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50)) + #:cargo-development-inputs + (("rust-heapless" ,rust-heapless-0.8) + ("rust-rand" ,rust-rand-0.8)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-pretty-hex") + (synopsis "Pretty hex dump of bytes slice in the common style") + (description + "This package provides pretty hex dump of bytes slice in the common style.") + (license license:expat))) + +(define-public rust-nu-protocol-0.91 + (package + (name "rust-nu-protocol") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h6ikglmx79w5izcb7jv66s7cdsq6302pgwzyjyaxyw8jyprvx2g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + ;; Not all files included. + "--skip=config_add_unsupported_key" + "--skip=config_add_unsupported_type" + "--skip=config_add_unsupported_value" + "--skip=config_affected_when_deep_mutated" + "--skip=config_affected_when_mutated" + "--skip=config_is_mutable" + "--skip=config_preserved_after_do" + "--skip=fancy_default_errors" + "--skip=filesize_format_auto_metric_false" + "--skip=filesize_format_auto_metric_true" + "--skip=filesize_metric_false" + "--skip=filesize_metric_overrides_format" + "--skip=filesize_metric_true" + "--skip=narratable_errors" + "--skip=plugins") + #:cargo-inputs (("rust-byte-unit" ,rust-byte-unit-5) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-humanize" ,rust-chrono-humanize-0.2) + ("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-lru" ,rust-lru-0.12) + ("rust-miette" ,rust-miette-7) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-system" ,rust-nu-system-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-typetag" ,rust-typetag-0.2)) + #:cargo-development-inputs + (("rust-nu-test-support" ,rust-nu-test-support-0.91) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.26)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-protocol") + (synopsis "Nushell's internal protocols, including its abstract syntax tree") + (description + "This package provides nushell's internal protocols, including its abstract +syntax tree.") + (license license:expat))) + +(define-public rust-nu-std-0.91 + (package + (name "rust-nu-std") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-std" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1igdid80qbfgqdmcg6szq2rsi7i5qlyhplw74byh81vkqsn5z74w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-miette" ,rust-miette-7) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-std") + (synopsis "Standard library of Nushell") + (description "This package provides the standard library of Nushell.") + (license license:expat))) + +(define-public rust-nu-system-0.91 + (package + (name "rust-nu-system") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-system" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jq87rjbmgpkf2cr2ajfs12f3wzpsh43m0drmrgj7b8lk2g6q9by")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-libproc" ,rust-libproc-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-mach2" ,rust-mach2-0.4) + ("rust-nix" ,rust-nix-0.27) + ("rust-ntapi" ,rust-ntapi-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-procfs" ,rust-procfs-0.16) + ("rust-sysinfo" ,rust-sysinfo-0.30) + ("rust-windows" ,rust-windows-0.52)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-system") + (synopsis "Nushell system querying") + (description "Nushell system querying") + (license license:expat))) + +(define-public rust-nu-table-0.91 + (package + (name "rust-nu-table") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-table" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r3b0lvkmjfkkcpxq6pls0sc5jp08a25ykfi0hifn0lsb9nady9m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-color-config" ,rust-nu-color-config-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-tabled" ,rust-tabled-0.14)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-table") + (synopsis "Nushell table printing") + (description "This package provides nushell table printing.") + (license license:expat))) + +(define-public rust-nu-term-grid-0.91 + (package + (name "rust-nu-term-grid") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-term-grid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12f0i7m6flpkf1valkjfg6chalifpb65cknq91p22sii4dx0x89r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-term-grid") + (synopsis "Nushell grid printing") + (description "This package provides nushell grid printing.") + (license license:expat))) + +(define-public rust-nu-test-support-0.91 + (package + (name "rust-nu-test-support") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-test-support" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "146ncw3318hcbhb7cpz3bdz0ypd8x4cpzhhl0q55r2mxxci7ik38")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=playground::tests::current_working_directory_back_to_root_from_anywhere" + "--skip=playground::tests::current_working_directory_in_sandbox_directory_created") + #:cargo-inputs (("rust-hamcrest2" ,rust-hamcrest2-0.3) + ("rust-nu-glob" ,rust-nu-glob-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-which" ,rust-which-6)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-test-support") + (synopsis "Support for writing Nushell tests") + (description "This package contains support for writing Nushell tests.") + (license license:expat))) + +(define-public rust-nu-utils-0.91 + (package + (name "rust-nu-utils") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xlnhli0zmv4nxznmjb2azq62ywq252zqvpx4668xv70japd74ag")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9) + ("rust-log" ,rust-log-0.4) + ("rust-lscolors" ,rust-lscolors-0.17) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2) + ("rust-sys-locale" ,rust-sys-locale-0.3) + ("rust-unicase" ,rust-unicase-2)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-utils") + (synopsis "Nushell utility functions") + (description "This package contains utility functions for nushell.") + (license license:expat))) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index f09c430db1..ffc8982df0 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -71,6 +71,7 @@ (define-module (gnu packages rust-apps) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-gtk) + #:use-module (gnu packages crates-nu) #:use-module (gnu packages crates-tls) #:use-module (gnu packages crates-vcs) #:use-module (gnu packages crates-web) @@ -95,7 +96,6 @@ (define-module (gnu packages rust-apps) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages networking) - #:use-module (gnu packages shells) #:use-module (gnu packages ssh) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 3a1549ef2f..9b214fe1f2 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -49,16 +49,9 @@ (define-module (gnu packages shells) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages bison) - #:use-module (gnu packages c) #:use-module (gnu packages check) #:use-module (gnu packages compression) - #:use-module (gnu packages crates-apple) - #:use-module (gnu packages crates-crypto) - #:use-module (gnu packages crates-graphics) - #:use-module (gnu packages crates-io) - #:use-module (gnu packages crates-tls) - #:use-module (gnu packages crates-web) - #:use-module (gnu packages crates-windows) + #:use-module (gnu packages crates-nu) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages documentation) @@ -77,22 +70,19 @@ (define-module (gnu packages shells) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) - #:use-module (gnu packages rust) - #:use-module (gnu packages rust-apps) #:use-module (gnu packages scheme) #:use-module (gnu packages terminals) - #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) #:use-module (gnu packages texinfo) - #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system trivial) + #:use-module (guix deprecation) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix gexp) @@ -1034,1010 +1024,4 @@ (define-public gash-utils (license license:gpl3+))) (define-public nushell - (package - (name "nushell") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zrw4jv57iwijd684vf43rw5sc9r0aq38shaizj96jqrgb8g9nja")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--" - ;; Not all files included - "--skip=tests::test_config_path::test_alternate_config_path" - "--skip=tests::test_config_path::test_default_config_path" - "--skip=tests::test_config_path::test_default_config_path_symlinked_config_files" - "--skip=tests::test_config_path::test_default_symlink_config_path_broken_symlink_config_files" - "--skip=tests::test_config_path::test_default_symlinked_config_path_empty" - ;; Path not available inside build environment - "--skip=path::canonicalize::canonicalize_tilde" - "--skip=path::canonicalize::canonicalize_tilde_relative_to" - ;; could not get mutex lock: PoisonError { .. } - "--skip=plugins::config::closure" - "--skip=plugins::config::none" - "--skip=plugins::config::record" - "--skip=plugins::core_inc::by_one_with_field_passed" - "--skip=plugins::core_inc::by_one_with_no_field_passed" - "--skip=plugins::core_inc::chooses_highest_increment_if_given_more_than_one" - "--skip=plugins::core_inc::explicit_flag" - "--skip=plugins::core_inc::semversion_major_inc" - "--skip=plugins::core_inc::semversion_minor_inc" - "--skip=plugins::core_inc::semversion_patch_inc" - "--skip=plugins::core_inc::semversion_without_passing_field" - "--skip=plugins::custom_values::can_generate_and_updated_multiple_types_of_custom_values" - "--skip=plugins::custom_values::can_get_custom_value_from_plugin_and_instantly_collapse_it" - "--skip=plugins::custom_values::can_get_custom_value_from_plugin_and_pass_it_over" - "--skip=plugins::custom_values::can_get_custom_value_from_plugin_and_pass_it_over_as_an_argument" - "--skip=plugins::custom_values::can_get_describe_plugin_custom_values" - "--skip=plugins::custom_values::fails_if_passing_custom_values_across_plugins" - "--skip=plugins::custom_values::fails_if_passing_engine_custom_values_to_plugins" - "--skip=plugins::formats::eml::from_eml_get_another_header_field" - "--skip=plugins::formats::eml::from_eml_get_replyto_field" - "--skip=plugins::formats::eml::from_eml_get_subject_field" - "--skip=plugins::formats::eml::from_eml_get_to_field" - "--skip=plugins::formats::ics::from_ics_text_to_table" - "--skip=plugins::formats::ics::from_ics_text_with_linebreak_to_table" - "--skip=plugins::formats::ics::infers_types" - "--skip=plugins::formats::ini::parses_ini" - "--skip=plugins::formats::ini::parses_utf16_ini" - "--skip=plugins::formats::ini::read_ini_with_missing_session" - "--skip=plugins::formats::vcf::from_vcf_text_to_table" - "--skip=plugins::formats::vcf::from_vcf_text_with_linebreak_to_table" - "--skip=plugins::formats::vcf::infers_types" - "--skip=plugins::register::help" - "--skip=plugins::register::search_terms" - "--skip=plugins::stream::collect_external_accepts_list_of_binary" - "--skip=plugins::stream::collect_external_accepts_list_of_string" - "--skip=plugins::stream::collect_external_big_stream" - "--skip=plugins::stream::collect_external_produces_raw_input" - "--skip=plugins::stream::seq_big_stream" - "--skip=plugins::stream::seq_describe_no_collect_succeeds_without_error" - "--skip=plugins::stream::seq_produces_stream" - "--skip=plugins::stream::seq_stream_collects_to_correct_list" - "--skip=plugins::stream::sum_accepts_list_of_float" - "--skip=plugins::stream::sum_accepts_list_of_int" - "--skip=plugins::stream::sum_accepts_stream_of_float" - "--skip=plugins::stream::sum_accepts_stream_of_int" - "--skip=plugins::stream::sum_big_stream") - #:features '("extra") - #:install-source? #f - #:cargo-inputs - (("rust-crossterm" ,rust-crossterm-0.27) - ("rust-ctrlc" ,rust-ctrlc-3) - ("rust-log" ,rust-log-0.4) - ("rust-miette" ,rust-miette-7) - ("rust-mimalloc" ,rust-mimalloc-0.1) - ("rust-nix" ,rust-nix-0.27) - ("rust-nu-cli" ,rust-nu-cli-0.91) - ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) - ("rust-nu-cmd-dataframe" ,rust-nu-cmd-dataframe-0.91) - ("rust-nu-cmd-extra" ,rust-nu-cmd-extra-0.91) - ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) - ("rust-nu-command" ,rust-nu-command-0.91) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-explore" ,rust-nu-explore-0.91) - ("rust-nu-lsp" ,rust-nu-lsp-0.91) - ("rust-nu-parser" ,rust-nu-parser-0.91) - ("rust-nu-path" ,rust-nu-path-0.91) - ("rust-nu-plugin" ,rust-nu-plugin-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-nu-std" ,rust-nu-std-0.91) - ("rust-nu-utils" ,rust-nu-utils-0.91) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-reedline" ,rust-reedline-0.30) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-simplelog" ,rust-simplelog-0.12) - ("rust-time" ,rust-time-0.3) - ("rust-winresource" ,rust-winresource-0.1)) - #:cargo-development-inputs - (("rust-assert-cmd" ,rust-assert-cmd-2) - ("rust-divan" ,rust-divan-0.1) - ("rust-nu-test-support" ,rust-nu-test-support-0.91) - ("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-rstest" ,rust-rstest-0.18) - ("rust-serial-test" ,rust-serial-test-3) - ("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs (list pkg-config)) - (inputs (list mimalloc openssl)) - (home-page "https://www.nushell.sh") - (synopsis "Shell with a structured approach to the command line") - (description - "Nu draws inspiration from projects like PowerShell, functional -programming languages, and modern CLI tools. Rather than thinking of files -and services as raw streams of text, Nu looks at each input as something with -structure. For example, when you list the contents of a directory, what you -get back is a table of rows, where each row represents an item in that -directory. These values can be piped through a series of steps, in a series -of commands called a ``pipeline''.") - (license license:expat))) - -(define-public rust-nu-ansi-term-0.50 - (package - (name "rust-nu-ansi-term") - (version "0.50.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-ansi-term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16a3isvbxx8pa3lk71h3cq2fsx2d17zzq42j4mhpxy81gl2qx8nl")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1) - ("rust-windows-sys" ,rust-windows-sys-0.52)) - #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/nushell/nu-ansi-term") - (synopsis "Library for ANSI terminal colors and styles (bold, underline)") - (description - "This package is a library for ANSI terminal colors and styles (bold, -underline).") - (license license:expat))) - -(define-public rust-nu-ansi-term-0.49 - (package - (inherit rust-nu-ansi-term-0.50) - (name "rust-nu-ansi-term") - (version "0.49.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-ansi-term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0s2svfnircd9jp06wk55qcbb9v5cadkfcjfg99vm21qdjg0x6wy0")))) - (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-serde-json" ,rust-serde-json-1)))))) - -(define-public rust-nu-ansi-term-0.46 - (package - (inherit rust-nu-ansi-term-0.49) - (name "rust-nu-ansi-term") - (version "0.46.0") - (source (origin - (method url-fetch) - (uri (crate-uri "nu-ansi-term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "115sywxh53p190lyw97alm14nc004qj5jm5lvdj608z84rbida3p")))) - (arguments - `(#:cargo-inputs - (("rust-overload" ,rust-overload-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-regex" ,rust-regex-1) - ("rust-serde-json" ,rust-serde-json-1)))))) - -(define-public rust-nu-ansi-term-0.44 - (package - (inherit rust-nu-ansi-term-0.49) - (name "rust-nu-ansi-term") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-ansi-term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lmc9rdqnw586gv4a0c2gbg3x4a04fy65xk3fczby8lq84rz41i3")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-overload" ,rust-overload-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-nu-cli-0.91 - (package - (name "rust-nu-cli") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-cli" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1v7xz13n5gzhwkn4d8wq1v22zbdvfqd2zxnqf2q3k8cnnj51ql63")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; 42 of 45 of the completions tests fail. - #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) - ("rust-crossterm" ,rust-crossterm-0.27) - ("rust-fancy-regex" ,rust-fancy-regex-0.13) - ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) - ("rust-is-executable" ,rust-is-executable-1) - ("rust-log" ,rust-log-0.4) - ("rust-lscolors" ,rust-lscolors-0.17) - ("rust-miette" ,rust-miette-7) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) - ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) - ("rust-nu-color-config" ,rust-nu-color-config-0.91) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-parser" ,rust-nu-parser-0.91) - ("rust-nu-path" ,rust-nu-path-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-nu-utils" ,rust-nu-utils-0.91) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-reedline" ,rust-reedline-0.30) - ("rust-sysinfo" ,rust-sysinfo-0.30) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-uuid" ,rust-uuid-1) - ("rust-which" ,rust-which-6)) - #:cargo-development-inputs - (("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) - ("rust-nu-command" ,rust-nu-command-0.91) - ("rust-nu-test-support" ,rust-nu-test-support-0.91) - ("rust-rstest" ,rust-rstest-0.18)))) - (native-inputs (list pkg-config)) - (inputs (list openssl)) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-cli") - (synopsis "CLI-related functionality for Nushell") - (description "This package provides CLI-related functionality for Nushell.") - (license license:expat))) - -(define-public rust-nu-cmd-base-0.91 - (package - (name "rust-nu-cmd-base") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-cmd-base" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0i2bdvhl1qmpzrip4b45xr4vg0himfsi120xq5al9vs5y80x2lla")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) - ("rust-miette" ,rust-miette-7) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-parser" ,rust-nu-parser-0.91) - ("rust-nu-path" ,rust-nu-path-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91)))) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-base") - (synopsis "Foundation tools to build Nushell commands") - (description - "This package provides the foundation tools to build Nushell commands.") - (license license:expat))) - -(define-public rust-nu-cmd-dataframe-0.91 - (package - (name "rust-nu-cmd-dataframe") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-cmd-dataframe" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1avsx50kr0snbm62l91v7a7wfq05igv5aagwhczm1g4xdpl448x9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) - ("rust-chrono-tz" ,rust-chrono-tz-0.8) - ("rust-fancy-regex" ,rust-fancy-regex-0.13) - ("rust-indexmap" ,rust-indexmap-2) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-parser" ,rust-nu-parser-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-num" ,rust-num-0.4) - ("rust-polars" ,rust-polars-0.37) - ("rust-polars-arrow" ,rust-polars-arrow-0.37) - ("rust-polars-io" ,rust-polars-io-0.37) - ("rust-polars-ops" ,rust-polars-ops-0.37) - ("rust-polars-plan" ,rust-polars-plan-0.37) - ("rust-polars-utils" ,rust-polars-utils-0.37) - ("rust-serde" ,rust-serde-1) - ("rust-sqlparser" ,rust-sqlparser-0.43)) - #:cargo-development-inputs (("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91)))) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-dataframe") - (synopsis "Nushell's dataframe commands based on polars") - (description - "This package contains nushell's dataframe commands based on polars.") - (license license:expat))) - -(define-public rust-nu-cmd-extra-0.91 - (package - (name "rust-nu-cmd-extra") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-cmd-extra" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0x905m6yci5n3ir89arq7vdvx0czqpjvr3j8i32f7bqh0z3jisc3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-fancy-regex" ,rust-fancy-regex-0.13) - ("rust-heck" ,rust-heck-0.4) - ("rust-itertools" ,rust-itertools-0.12) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) - ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-json" ,rust-nu-json-0.91) - ("rust-nu-parser" ,rust-nu-parser-0.91) - ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-nu-utils" ,rust-nu-utils-0.91) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rust-embed" ,rust-rust-embed-8) - ("rust-serde" ,rust-serde-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) - ("rust-v-htmlescape" ,rust-v-htmlescape-0.15)) - #:cargo-development-inputs - (("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) - ("rust-nu-command" ,rust-nu-command-0.91) - ("rust-nu-test-support" ,rust-nu-test-support-0.91)))) - (native-inputs (list pkg-config)) - (inputs (list openssl)) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-extra") - (synopsis "Nushell's extra commands") - (description "This package contains nushell's extra commands that are not -part of the 1.0 api standard.") - (license license:expat))) - -(define-public rust-nu-cmd-lang-0.91 - (package - (name "rust-nu-cmd-lang") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-cmd-lang" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zwdw3y4jn6s6h41jnwljpj9cfyhr68av61idikjkhi7l6hygy5c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-itertools" ,rust-itertools-0.12) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-parser" ,rust-nu-parser-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-nu-utils" ,rust-nu-utils-0.91) - ("rust-shadow-rs" ,rust-shadow-rs-0.26)))) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-lang") - (synopsis "Nushell's core language commands") - (description "This package provides nushell's core language commands.") - (license license:expat))) - -(define-public rust-nu-color-config-0.91 - (package - (name "rust-nu-color-config") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-color-config" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "115bha7r4sy19w80vbbfc3av9g0pa1fcksdaqznm0yjlykv49czy")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=style_computer::test_computable_style_closure_basic" - "--skip=style_computer::test_computable_style_closure_errors") - #:cargo-inputs (("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-json" ,rust-nu-json-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-nu-test-support" ,rust-nu-test-support-0.91)))) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-color-config") - (synopsis "Color configuration code used by Nushell") - (description "This package contains color configuration code used by Nushell.") - (license license:expat))) - -(define-public rust-nu-command-0.91 - (package - (name "rust-nu-command") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-command" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jiz6bndkwfnhs4cc74am8krnhyb5kyq310nf7ma5038q6vqs8q9")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs (("rust-alphanumeric-sort" ,rust-alphanumeric-sort-1) - ("rust-base64" ,rust-base64-0.21) - ("rust-bracoxide" ,rust-bracoxide-0.1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-bytesize" ,rust-bytesize-1) - ("rust-calamine" ,rust-calamine-0.24) - ("rust-chardetng" ,rust-chardetng-0.1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-chrono-humanize" ,rust-chrono-humanize-0.2) - ("rust-chrono-tz" ,rust-chrono-tz-0.8) - ("rust-crossterm" ,rust-crossterm-0.27) - ("rust-csv" ,rust-csv-1) - ("rust-dialoguer" ,rust-dialoguer-0.11) - ("rust-digest" ,rust-digest-0.10) - ("rust-dtparse" ,rust-dtparse-2) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-fancy-regex" ,rust-fancy-regex-0.13) - ("rust-filesize" ,rust-filesize-0.2) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-fs-extra" ,rust-fs-extra-1) - ("rust-human-date-parser" ,rust-human-date-parser-0.1) - ("rust-indexmap" ,rust-indexmap-2) - ("rust-indicatif" ,rust-indicatif-0.17) - ("rust-itertools" ,rust-itertools-0.12) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-lscolors" ,rust-lscolors-0.17) - ("rust-md-5" ,rust-md-5-0.10) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-nix" ,rust-nix-0.27) - ("rust-notify-debouncer-full" ,rust-notify-debouncer-full-0.3) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) - ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) - ("rust-nu-color-config" ,rust-nu-color-config-0.91) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-glob" ,rust-nu-glob-0.91) - ("rust-nu-json" ,rust-nu-json-0.91) - ("rust-nu-parser" ,rust-nu-parser-0.91) - ("rust-nu-path" ,rust-nu-path-0.91) - ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-nu-system" ,rust-nu-system-0.91) - ("rust-nu-table" ,rust-nu-table-0.91) - ("rust-nu-term-grid" ,rust-nu-term-grid-0.91) - ("rust-nu-utils" ,rust-nu-utils-0.91) - ("rust-num-format" ,rust-num-format-0.4) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-open" ,rust-open-5) - ("rust-os-pipe" ,rust-os-pipe-1) - ("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-print-positions" ,rust-print-positions-0.6) - ("rust-procfs" ,rust-procfs-0.16) - ("rust-quick-xml" ,rust-quick-xml-0.31) - ("rust-rand" ,rust-rand-0.8) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-roxmltree" ,rust-roxmltree-0.19) - ("rust-rusqlite" ,rust-rusqlite-0.31) - ("rust-same-file" ,rust-same-file-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) - ("rust-serde-yaml" ,rust-serde-yaml-0.9) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-sysinfo" ,rust-sysinfo-0.30) - ("rust-tabled" ,rust-tabled-0.14) - ("rust-terminal-size" ,rust-terminal-size-0.3) - ("rust-titlecase" ,rust-titlecase-2) - ("rust-toml" ,rust-toml-0.8) - ("rust-trash" ,rust-trash-3) - ("rust-umask" ,rust-umask-2) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-ureq" ,rust-ureq-2) - ("rust-url" ,rust-url-2) - ("rust-uu-cp" ,rust-uu-cp-0.0.23) - ("rust-uu-mkdir" ,rust-uu-mkdir-0.0.23) - ("rust-uu-mktemp" ,rust-uu-mktemp-0.0.23) - ("rust-uu-mv" ,rust-uu-mv-0.0.23) - ("rust-uu-whoami" ,rust-uu-whoami-0.0.23) - ("rust-uuid" ,rust-uuid-1) - ("rust-v-htmlescape" ,rust-v-htmlescape-0.15) - ("rust-wax" ,rust-wax-0.6) - ("rust-which" ,rust-which-6) - ("rust-windows" ,rust-windows-0.52) - ("rust-winreg" ,rust-winreg-0.52)) - #:cargo-development-inputs - (("rust-dirs-next" ,rust-dirs-next-2) - ("rust-mockito" ,rust-mockito-1) - ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) - ("rust-nu-test-support" ,rust-nu-test-support-0.91) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) - ("rust-rstest" ,rust-rstest-0.18)))) - (native-inputs (list pkg-config)) - (inputs (list openssl)) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-command") - (synopsis "Nushell's built-in commands") - (description "This package contains nushell's built-in commands.") - (license license:expat))) - -(define-public rust-nu-engine-0.91 - (package - (name "rust-nu-engine") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-engine" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0j4g3nhg9yw7nilnf3n1k4yfn5glmd3vbap1zxwzz24xw7ap62c7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-nu-glob" ,rust-nu-glob-0.91) - ("rust-nu-path" ,rust-nu-path-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-nu-utils" ,rust-nu-utils-0.91)))) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-engine") - (synopsis "Nushell's evaluation engine") - (description "This package provides nushell's evaluation engine.") - (license license:expat))) - -(define-public rust-nu-explore-0.91 - (package - (name "rust-nu-explore") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-explore" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0j1xry4idjxrnyfz9l227s5hd82635dqc72gyw4zwq35izjrgqmm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-ansi-str" ,rust-ansi-str-0.8) - ("rust-crossterm" ,rust-crossterm-0.27) - ("rust-lscolors" ,rust-lscolors-0.17) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) - ("rust-nu-color-config" ,rust-nu-color-config-0.91) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-json" ,rust-nu-json-0.91) - ("rust-nu-parser" ,rust-nu-parser-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-nu-table" ,rust-nu-table-0.91) - ("rust-nu-utils" ,rust-nu-utils-0.91) - ("rust-ratatui" ,rust-ratatui-0.26) - ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2) - ("rust-terminal-size" ,rust-terminal-size-0.3) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-explore") - (synopsis "Nushell table pager") - (description "This package contains the nushell table pager.") - (license license:expat))) - -(define-public rust-nu-glob-0.91 - (package - (name "rust-nu-glob") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-glob" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "094jkfb7rlcl0dxs5gnw8x30zv75s372l72zsg1wmv8lblzbfybx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=test::test_iteration_errors") - #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)))) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-glob") - (synopsis "Support for matching file paths against Unix shell style patterns") - (description - "This package provides support for matching file paths against Unix shell -style patterns.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-nu-json-0.91 - (package - (name "rust-nu-json") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-json" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ga6kmmavd3rxjkk3j7jm6kjg2ny066a713ccca9nj0i9gbm6b1h")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-linked-hash-map" ,rust-linked-hash-map-0.5) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-json") - (synopsis "Human JSON (Hjson) serialization file format") - (description "This crate is a Rust library for parsing and generating Human -JSON Hjson. It is built upon Serde, a high performance generic serialization -framework.") - (license license:expat))) - -(define-public rust-nu-lsp-0.91 - (package - (name "rust-nu-lsp") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-lsp" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sj61lnw74jrd7az9b5367gk4qry06s783k5vqgjznx4nqvr80xj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--" - ;; Not all files included. - "--skip=diagnostics::tests::publish_diagnostics_fixed_unknown_variable" - "--skip=diagnostics::tests::publish_diagnostics_variable_does_not_exists" - "--skip=notification::tests::hover_correct_documentation_on_let" - "--skip=notification::tests::hover_on_command_after_full_content_change" - "--skip=notification::tests::hover_on_command_after_partial_content_change" - "--skip=notification::tests::open_document_with_utf_char" - "--skip=tests::complete_command_with_space" - "--skip=tests::complete_command_with_utf_line" - "--skip=tests::complete_on_variable" - "--skip=tests::goto_definition_of_command" - "--skip=tests::goto_definition_of_command_parameter" - "--skip=tests::goto_definition_of_variable" - "--skip=tests::hover_on_command" - "--skip=tests::hover_on_variable") - #:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-lsp-server" ,rust-lsp-server-0.7) - ("rust-lsp-types" ,rust-lsp-types-0.95) - ("rust-miette" ,rust-miette-7) - ("rust-nu-cli" ,rust-nu-cli-0.91) - ("rust-nu-parser" ,rust-nu-parser-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-reedline" ,rust-reedline-0.30) - ("rust-ropey" ,rust-ropey-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)) - #:cargo-development-inputs - (("rust-assert-json-diff" ,rust-assert-json-diff-2) - ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) - ("rust-nu-command" ,rust-nu-command-0.91) - ("rust-nu-test-support" ,rust-nu-test-support-0.91)))) - (native-inputs (list pkg-config)) - (inputs (list openssl)) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-lsp") - (synopsis "Nushell's integrated LSP server") - (description "This package contains nushell'e integrated LSP server.") - (license license:expat))) - -(define-public rust-nu-parser-0.91 - (package - (name "rust-nu-parser") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "110jgz6lr0bi6904k63yqbsrcgfrpn044j2xz9if8akprk4p5w4z")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bytesize" ,rust-bytesize-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-itertools" ,rust-itertools-0.12) - ("rust-log" ,rust-log-0.4) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-path" ,rust-nu-path-0.91) - ("rust-nu-plugin" ,rust-nu-plugin-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-serde-json" ,rust-serde-json-1)) - #:cargo-development-inputs (("rust-rstest" ,rust-rstest-0.18)))) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-parser") - (synopsis "Nushell's parser") - (description "This package contains nushell's parser") - (license license:expat))) - -(define-public rust-nu-path-0.91 - (package - (name "rust-nu-path") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-path" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "146lm48vna9w5kr46dclqmzl1cbz5k7j1zz6jl8i6d83np4nn1sa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-dirs-next" ,rust-dirs-next-2) - ("rust-omnipath" ,rust-omnipath-0.1) - ("rust-pwd" ,rust-pwd-1)))) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-path") - (synopsis "Path handling library for Nushell") - (description "This package provides path handling library for Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-0.91 - (package - (name "rust-nu-plugin") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-plugin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "054hmmz78njl6qhpcbbifip5r879ipa2j3y5ndlj588b9qaijvva")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bincode" ,rust-bincode-1) - ("rust-log" ,rust-log-0.4) - ("rust-miette" ,rust-miette-7) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-rmp-serde" ,rust-rmp-serde-1) - ("rust-semver" ,rust-semver-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-typetag" ,rust-typetag-0.2)))) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-plugin") - (synopsis "Functionality for building Nushell plugins") - (description - "This package contains functionality for building Nushell plugins.") - (license license:expat))) - -(define-public rust-nu-pretty-hex-0.91 - (package - (name "rust-nu-pretty-hex") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-pretty-hex" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iq8amp5hqf2xxp5n74l5sgqv2bj204zwbjcnarhy88ijzjicrl6")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50)) - #:cargo-development-inputs - (("rust-heapless" ,rust-heapless-0.8) - ("rust-rand" ,rust-rand-0.8)))) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-pretty-hex") - (synopsis "Pretty hex dump of bytes slice in the common style") - (description - "This package provides pretty hex dump of bytes slice in the common style.") - (license license:expat))) - -(define-public rust-nu-protocol-0.91 - (package - (name "rust-nu-protocol") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-protocol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0h6ikglmx79w5izcb7jv66s7cdsq6302pgwzyjyaxyw8jyprvx2g")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--" - ;; Not all files included. - "--skip=config_add_unsupported_key" - "--skip=config_add_unsupported_type" - "--skip=config_add_unsupported_value" - "--skip=config_affected_when_deep_mutated" - "--skip=config_affected_when_mutated" - "--skip=config_is_mutable" - "--skip=config_preserved_after_do" - "--skip=fancy_default_errors" - "--skip=filesize_format_auto_metric_false" - "--skip=filesize_format_auto_metric_true" - "--skip=filesize_metric_false" - "--skip=filesize_metric_overrides_format" - "--skip=filesize_metric_true" - "--skip=narratable_errors" - "--skip=plugins") - #:cargo-inputs (("rust-byte-unit" ,rust-byte-unit-5) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-chrono-humanize" ,rust-chrono-humanize-0.2) - ("rust-fancy-regex" ,rust-fancy-regex-0.13) - ("rust-indexmap" ,rust-indexmap-2) - ("rust-lru" ,rust-lru-0.12) - ("rust-miette" ,rust-miette-7) - ("rust-nu-path" ,rust-nu-path-0.91) - ("rust-nu-system" ,rust-nu-system-0.91) - ("rust-nu-utils" ,rust-nu-utils-0.91) - ("rust-num-format" ,rust-num-format-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-typetag" ,rust-typetag-0.2)) - #:cargo-development-inputs - (("rust-nu-test-support" ,rust-nu-test-support-0.91) - ("rust-rstest" ,rust-rstest-0.18) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-strum" ,rust-strum-0.25) - ("rust-strum-macros" ,rust-strum-macros-0.26)))) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-protocol") - (synopsis "Nushell's internal protocols, including its abstract syntax tree") - (description - "This package provides nushell's internal protocols, including its abstract -syntax tree.") - (license license:expat))) - -(define-public rust-nu-std-0.91 - (package - (name "rust-nu-std") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-std" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1igdid80qbfgqdmcg6szq2rsi7i5qlyhplw74byh81vkqsn5z74w")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-miette" ,rust-miette-7) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-parser" ,rust-nu-parser-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91)))) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-std") - (synopsis "Standard library of Nushell") - (description "This package provides the standard library of Nushell.") - (license license:expat))) - -(define-public rust-nu-system-0.91 - (package - (name "rust-nu-system") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-system" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jq87rjbmgpkf2cr2ajfs12f3wzpsh43m0drmrgj7b8lk2g6q9by")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) - ("rust-libc" ,rust-libc-0.2) - ("rust-libproc" ,rust-libproc-0.14) - ("rust-log" ,rust-log-0.4) - ("rust-mach2" ,rust-mach2-0.4) - ("rust-nix" ,rust-nix-0.27) - ("rust-ntapi" ,rust-ntapi-0.4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-procfs" ,rust-procfs-0.16) - ("rust-sysinfo" ,rust-sysinfo-0.30) - ("rust-windows" ,rust-windows-0.52)))) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-system") - (synopsis "Nushell system querying") - (description "Nushell system querying") - (license license:expat))) - -(define-public rust-nu-table-0.91 - (package - (name "rust-nu-table") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-table" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0r3b0lvkmjfkkcpxq6pls0sc5jp08a25ykfi0hifn0lsb9nady9m")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-fancy-regex" ,rust-fancy-regex-0.13) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) - ("rust-nu-color-config" ,rust-nu-color-config-0.91) - ("rust-nu-engine" ,rust-nu-engine-0.91) - ("rust-nu-protocol" ,rust-nu-protocol-0.91) - ("rust-nu-utils" ,rust-nu-utils-0.91) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-tabled" ,rust-tabled-0.14)))) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-table") - (synopsis "Nushell table printing") - (description "This package provides nushell table printing.") - (license license:expat))) - -(define-public rust-nu-term-grid-0.91 - (package - (name "rust-nu-term-grid") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-term-grid" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12f0i7m6flpkf1valkjfg6chalifpb65cknq91p22sii4dx0x89r")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-nu-utils" ,rust-nu-utils-0.91) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-term-grid") - (synopsis "Nushell grid printing") - (description "This package provides nushell grid printing.") - (license license:expat))) - -(define-public rust-nu-test-support-0.91 - (package - (name "rust-nu-test-support") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-test-support" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "146ncw3318hcbhb7cpz3bdz0ypd8x4cpzhhl0q55r2mxxci7ik38")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--" - ;; Not all files included. - "--skip=playground::tests::current_working_directory_back_to_root_from_anywhere" - "--skip=playground::tests::current_working_directory_in_sandbox_directory_created") - #:cargo-inputs (("rust-hamcrest2" ,rust-hamcrest2-0.3) - ("rust-nu-glob" ,rust-nu-glob-0.91) - ("rust-nu-path" ,rust-nu-path-0.91) - ("rust-nu-utils" ,rust-nu-utils-0.91) - ("rust-num-format" ,rust-num-format-0.4) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-which" ,rust-which-6)))) - (home-page - "https://github.com/nushell/nushell/tree/main/crates/nu-test-support") - (synopsis "Support for writing Nushell tests") - (description "This package contains support for writing Nushell tests.") - (license license:expat))) - -(define-public rust-nu-utils-0.91 - (package - (name "rust-nu-utils") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-utils" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xlnhli0zmv4nxznmjb2azq62ywq252zqvpx4668xv70japd74ag")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9) - ("rust-log" ,rust-log-0.4) - ("rust-lscolors" ,rust-lscolors-0.17) - ("rust-num-format" ,rust-num-format-0.4) - ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2) - ("rust-sys-locale" ,rust-sys-locale-0.3) - ("rust-unicase" ,rust-unicase-2)))) - (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-utils") - (synopsis "Nushell utility functions") - (description "This package contains utility functions for nushell.") - (license license:expat))) + (deprecated-package "nushell" rust-nu-0.91)) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 5f1425813d..2a91d4449a 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -57,6 +57,7 @@ (define-module (gnu packages shellutils) #:use-module (gnu packages cmake) #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-nu) #:use-module (gnu packages crates-vcs) #:use-module (gnu packages crates-windows) #:use-module (gnu packages flex) base-commit: 32ab343e03e998ada27c063ef7d8a00aa88436dd -- 2.45.2