guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

22/37: gnu: Add rust-argmax-0.3.


From: guix-commits
Subject: 22/37: gnu: Add rust-argmax-0.3.
Date: Thu, 9 Mar 2023 12:12:06 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 46f2456154133cfe90d0dfbd0bb416c1cb2c1468
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 9 16:49:24 2023 +0200

    gnu: Add rust-argmax-0.3.
    
    * gnu/packages/crates-io.scm (rust-argmax-0.3): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 486b3698c0..949e80cf84 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3228,6 +3228,28 @@ coverage-guided, mutation-based fuzzers.")
     (description "Derive-based argument parser optimized for code size")
     (license license:bsd-3)))
 
+(define-public rust-argmax-0.3
+  (package
+    (name "rust-argmax")
+    (version "0.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "argmax" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"0ricjx82rdnycjndlmaiwxc85lq3gh4av44xlkjwbwm7wgskwzjv"))))
+    (build-system cargo-build-system)
+    (arguments
+    `(#:cargo-inputs
+      (("rust-lazy-static" ,rust-lazy-static-1)
+       ("rust-libc" ,rust-libc-0.2)
+       ("rust-nix" ,rust-nix-0.24))))
+    (home-page "https://github.com/sharkdp/argmax";)
+    (synopsis "Rust library to deal with 'argument too long' errors")
+    (description "This package provides a rust library to deal with argument
+too long errors.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-arr-macro-impl-0.1
   (package
     (name "rust-arr-macro-impl")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]