summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntero Mejr <antero@kodmin.com>2021-06-05 22:17:39 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-05 22:17:49 +0200
commit7b5f5aa82baa1117c0ff10d1208154e5cbb3ce6f (patch)
tree954d0ec3fb4ff5ee7d72fb890d0be59601e0ce69
parent9c92fb862d0874e332d7be50b49ecb507082f770 (diff)
downloadguix-7b5f5aa82baa1117c0ff10d1208154e5cbb3ce6f.tar.gz
gnu: Add rust-merge-0.1.
* gnu/packages/crates-io.scm (rust-merge-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b5a7720831..bf9082c3f1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23679,6 +23679,29 @@ for Rust structs.")
 @code{merge::Merge} crate.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-merge-0.1
+  (package
+    (name "rust-merge")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "merge" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1sck0vhi9lk8a6mgky0rgn842fj7yspywidwbd963nmimf9yzfqh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-merge-derive" ,rust-merge-derive-0.1)
+        ("rust-num-traits" ,rust-num-traits-0.2))))
+    (home-page "https://sr.ht/~ireas/merge-rs")
+    (synopsis "Rust trait for objects that can be merged")
+    (description "This package provides a merge trait that can be used
+to merge two objects of the same type into one.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-merlin-2
   (package
     (name "rust-merlin")