gnu: Add rust-ethnum-1.

* gnu/packages/crates-io.scm (rust-ethnum-1): New variable.

Change-Id: Ic571a450a5b198c08222bdca288449c208dff422
This commit is contained in:
Efraim Flashner 2024-03-16 22:00:02 +02:00
parent dcc8f3ca82
commit e60699b982
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -22677,6 +22677,26 @@ 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-1
(package
(name "rust-ethnum")
(version "1.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ethnum" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0b68ngvisb0d40vc6h30zlhghbb3mc8wlxjbf8gnmavk1dca435r"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-ethnum-intrinsics" ,rust-ethnum-intrinsics-1)
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/nlordell/ethnum-rs")
(synopsis "256-bit integer implementation")
(description "This package contains a 256-bit integer implementation.")
(license (list license:expat license:asl2.0))))
(define-public rust-ethnum-intrinsics-1
(package
(name "rust-ethnum-intrinsics")