From 7b5f5aa82baa1117c0ff10d1208154e5cbb3ce6f Mon Sep 17 00:00:00 2001 From: Antero Mejr Date: Sat, 5 Jun 2021 22:17:39 +0200 Subject: gnu: Add rust-merge-0.1. * gnu/packages/crates-io.scm (rust-merge-0.1): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages') 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") -- cgit v1.2.3