File: 2001_clap_complete_nushell.patch

package info (click to toggle)
btm 0.10.2%2B20250107-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,884 kB
  • sloc: python: 418; makefile: 23; sh: 22
file content (34 lines) | stat: -rw-r--r-- 1,118 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: avoid not-in-Debian crate clap_complete_nushell
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-07-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -144,7 +144,6 @@
 [build-dependencies]
 clap = { version = "4.5.23", features = ["default", "cargo", "wrap_help", "derive"] }
 clap_complete = "4.5.40"
-clap_complete_nushell = "4.5.5"
 clap_mangen = "0.2.24"
 indoc = "2.0.5"
 
--- a/build.rs
+++ b/build.rs
@@ -11,7 +11,6 @@
 
 use clap::{Command, CommandFactory};
 use clap_complete::{generate_to, shells::Shell, Generator};
-use clap_complete_nushell::Nushell;
 
 use crate::args::BottomArgs;
 
@@ -53,7 +52,6 @@
             generate_completions(Shell::Fish, &mut app, &completion_out_dir)?;
             generate_completions(Shell::PowerShell, &mut app, &completion_out_dir)?;
             generate_completions(Shell::Elvish, &mut app, &completion_out_dir)?;
-            generate_completions(Nushell, &mut app, &completion_out_dir)?;
 
             // Generate manpage
             let app = app.name("btm");