From 6d008d047ea209615a2b04fc5b97f23ce0ddb041 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 17:30:30 +0300 Subject: [PATCH] gnu: Add rust-addchain-0.2. * gnu/packages/crates-io.scm (rust-addchain-0.2): 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 0044ecfd6c..dd363c47d5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1699,6 +1699,28 @@ (define-public rust-addr2line-0.17 Rust, using gimli.") (license (list license:asl2.0 license:expat)))) +(define-public rust-addchain-0.2 + (package + (name "rust-addchain") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "addchain" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0w45hpybsx9gzhlxf6x9451kycg8xwj3x8qzjnk8wqm55926jbiv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-num-bigint" ,rust-num-bigint-0.3) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2)))) + (home-page "https://github.com/str4d/addchain") + (synopsis "Generate addition chains") + (description "Generate addition chains") + (license (list license:expat license:asl2.0)))) + (define-public rust-addr-0.14 (package (name "rust-addr")