From 04bf7f0075f9ea3532663638692f151fa6b37355 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 16 Mar 2024 21:37:58 +0200 Subject: [PATCH] gnu: Add rust-ethnum-intrinsics-1. * gnu/packages/crates-io.scm (rust-ethnum-intrinsics-1): New variable. Change-Id: I8fa55f1e7bc17f9ffe66d62e68d405fddbc68242 --- 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 90a6f2aa6d..89651371a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22677,6 +22677,28 @@ libraries generally do not give you a choice in terms of which standards/convent they follow. Etcetera, on the other hand, gives you the choice.") (license (list license:expat license:asl2.0)))) +(define-public rust-ethnum-intrinsics-1 + (package + (name "rust-ethnum-intrinsics") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ethnum-intrinsics" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qvb1r3vmnk5nplz6x1014rn6b9nfnig2qmlj8hi3jpq75j8cgh9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; error: unterminated attribute group + #:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (inputs (list clang)) + (home-page "https://github.com/nlordell/ethnum-rs") + (synopsis "LLVM generated 256-bit integer intrinsics") + (description + "This package contains LLVM generated 256-bit integer intrinsics.") + (license (list license:expat license:asl2.0)))) + (define-public rust-evdev-0.12 (package (name "rust-evdev")