guix-commits
[Top][All Lists]
Advanced

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

04/17: gnu: Add rust-anyinput-0.1.


From: guix-commits
Subject: 04/17: gnu: Add rust-anyinput-0.1.
Date: Thu, 16 Jan 2025 16:55:41 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit 993e968294ecfb9d5329666fcc534fdf8a1ad5ce
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 16 22:48:29 2025 +0100

    gnu: Add rust-anyinput-0.1.
    
    * gnu/packages/crates-io.scm (rust-anyinput-0.1): New variable.
    
    Change-Id: I5347d8bb51b18c6de5026d0e598fdbdea360a15d
---
 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 cb1b6ca222..536b7f5fa8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2188,6 +2188,28 @@ reductions on 32-bit ARM.")
      "This package provides an internal helper library of anyinput.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-anyinput-0.1
+  (package
+    (name "rust-anyinput")
+    (version "0.1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "anyinput" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08dkks0pg097vcjj3a43fxzazs2cnmf1jd7kcj8s3y6lfxj80n12"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-anyinput-derive" ,rust-anyinput-derive-0.1))))
+    (home-page "https://github.com/CarlKCarlK/anyinput";)
+    (synopsis "Macro for functions that accept any input")
+    (description
+     "This package provides a macro for easier writing of functions that
+accept any string-, path-, iterator-, array-, or ndarray-like input.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-anyhow-1
   (package
     (name "rust-anyhow")



reply via email to

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