gnu: Add rust-divan-0.1.

* gnu/packages/crates-io.scm (rust-divan-0.1): New variable.

Change-Id: Iedc3bb27aec507feaae213250c07141461c64da2
This commit is contained in:
Efraim Flashner 2024-03-14 12:43:44 +02:00
parent cd3c29e465
commit 1e361394d8
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -19807,6 +19807,32 @@ (define-public rust-dissimilar-1
Google's diff-match-patch.")
(license (list license:expat license:asl2.0))))
(define-public rust-divan-0.1
(package
(name "rust-divan")
(version "0.1.14")
(source
(origin
(method url-fetch)
(uri (crate-uri "divan" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0v757vmvlksbaqz7q8cgq7hvr3dimrddcarz7yj70a4w5kgngmd0"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
("rust-clap" ,rust-clap-4)
("rust-condtype" ,rust-condtype-1)
("rust-divan-macros" ,rust-divan-macros-0.1)
("rust-libc" ,rust-libc-0.2)
("rust-regex-lite" ,rust-regex-lite-0.1))
#:cargo-development-inputs (("rust-mimalloc" ,rust-mimalloc-0.1))))
(inputs (list mimalloc))
(home-page "https://github.com/nvzqz/divan")
(synopsis "Statistically-comfy benchmarking library")
(description "Statistically-comfy benchmarking library.")
(license (list license:expat license:asl2.0))))
(define-public rust-divan-macros-0.1
(package
(name "rust-divan-macros")