From 9eb27fcadf916475e8fdc592a197d698dd01ce5b Mon Sep 17 00:00:00 2001 From: Attila Lendvai Date: Thu, 20 Jan 2022 19:59:31 +0100 Subject: [PATCH] gnu: Add rust-ethereum-types-0.4. * gnu/packages/crates-io.scm (rust-ethereum-types-0.4): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bc0d8782ee..ea0e79cacd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20395,6 +20395,29 @@ (define-public rust-ethereum-types-0.9 (base32 "1c1l2sg6li301izl4nzkkfrpc8snafxwnr81vfwygn3bd3zyqfj7")))))) +(define-public rust-ethereum-types-0.4 + (package + (inherit rust-ethereum-types-0.9) + (name "rust-ethereum-types") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ethereum-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15icipk0ap7r6yi0i6cl6zsl0z52zbw6jwv3l271r833vj222x3f")))) + (arguments + `(#:cargo-inputs + (("rust-crunchy" ,rust-crunchy-0.1) + ("rust-ethbloom" ,rust-ethbloom-0.5) + ("rust-ethereum-types-serialize" ,rust-ethereum-types-serialize-0.2) + ("rust-fixed-hash" ,rust-fixed-hash-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-uint" ,rust-uint-0.4)) + #:cargo-development-inputs + (("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-ethereum-types-serialize-0.2 (package (name "rust-ethereum-types-serialize")