gnu: Add rust-ff-0.13.

* gnu/packages/crates-io.scm (rust-ff-0.13): New variable.
This commit is contained in:
Efraim Flashner 2023-05-11 17:30:29 +03:00
parent b5a121bddf
commit 4a8e174244
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -22434,6 +22434,34 @@ (define-public rust-fever-api-0.2
;; No copyright headers in the source code. LICENSE indicates gpl3.
(license license:gpl3)))
(define-public rust-ff-0.13
(package
(name "rust-ff")
(version "0.13.0")
(source (origin
(method url-fetch)
(uri (crate-uri "ff" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0jcl8yhcs5kbfxfpnrhpkkvnk7s666vly6sgawg3nri9nx215m6y"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitvec" ,rust-bitvec-1)
("rust-byteorder" ,rust-byteorder-1)
("rust-ff-derive" ,rust-ff-derive-0.13)
("rust-rand-core" ,rust-rand-core-0.6)
("rust-subtle" ,rust-subtle-2))
#:cargo-development-inputs
(("rust-blake2b-simd" ,rust-blake2b-simd-1)
("rust-rand" ,rust-rand-0.8))))
(home-page "https://github.com/zkcrypto/ff")
(synopsis "Library for building and interfacing with finite fields")
(description "This package provides a rust library for building and
interfacing with finite fields.")
(license (list license:expat license:asl2.0))))
(define-public rust-ff-derive-0.13
(package
(name "rust-ff-derive")