[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/15: gnu: Add cargo-machete.
From: |
guix-commits |
Subject: |
15/15: gnu: Add cargo-machete. |
Date: |
Sun, 28 Jan 2024 08:34:50 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 1a7af78ffe4a86ab8a2e6aca094dd7b76e830ec0
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sat Jan 27 09:50:38 2024 +0100
gnu: Add cargo-machete.
* gnu/packages/rust-apps.scm (cargo-machete): New variable.
Change-Id: Ic73bbb347a976d008d383557669e696e6fe3bdfa
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/rust-apps.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 88d27cede7..5cd15de7ed 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
+;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -310,6 +311,36 @@ highlighting for a large number of languages, git
integration, and automatic
paging.")
(license (list license:expat license:asl2.0))))
+(define-public cargo-machete
+ (package
+ (name "cargo-machete")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri name version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lbymfxgcizmj1c1ydpzinjbjhc7c9j0wb5y1xq33j80s5hzayaz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;Error: No such file or directory (os error 2)
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-argh" ,rust-argh-0.1)
+ ("rust-cargo-metadata" ,rust-cargo-metadata-0.18)
+ ("rust-cargo-toml" ,rust-cargo-toml-0.16)
+ ("rust-grep" ,rust-grep-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-toml-edit" ,rust-toml-edit-0.20)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (home-page "https://github.com/est31/cargo-udeps")
+ (synopsis "Find unused dependencies in Cargo.toml")
+ (description "@code{cargo-machete} finds unused dependencies in
Cargo.toml.")
+ (license (list license:expat license:asl2.0))))
+
(define-public diffr
(package
(name "diffr")
- 01/15: gnu: rust-redox-termios: Update to 0.1.3., (continued)
- 01/15: gnu: rust-redox-termios: Update to 0.1.3., guix-commits, 2024/01/28
- 08/15: gnu: rust-scheduled-thread-pool-0.2: Update to 0.2.7., guix-commits, 2024/01/28
- 13/15: gnu: Add rust-cargo-toml-0.16., guix-commits, 2024/01/28
- 11/15: gnu: rust-termion-2: Update to 2.0.3., guix-commits, 2024/01/28
- 14/15: gnu: Add rust-pretty-env-logger-0.5., guix-commits, 2024/01/28
- 02/15: gnu: rust-redox-users-0.3: Update to 0.3.5., guix-commits, 2024/01/28
- 04/15: gnu: Add rust-wasi-0.10., guix-commits, 2024/01/28
- 07/15: gnu: rust-insta-0.8: Update to 0.8.2., guix-commits, 2024/01/28
- 06/15: gnu: rust-redox-syscall-0.2: Update to 0.2.16., guix-commits, 2024/01/28
- 10/15: gnu: Add rust-libredox-0.0.2., guix-commits, 2024/01/28
- 15/15: gnu: Add cargo-machete.,
guix-commits <=
- 09/15: gnu: rust-tokio-0.2: Update to 0.2.25., guix-commits, 2024/01/28
- 12/15: gnu: rust-argh-0.1: Update to 0.1.12., guix-commits, 2024/01/28