gnu: Add rust-page-size-0.4.

* gnu/packages/crates-io.scm (rust-page-size-0.4): New variable.
This commit is contained in:
Ricardo Wurmus 2022-05-06 14:15:05 +02:00
parent 6f5cbac67d
commit 4f15745b95
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -40046,6 +40046,30 @@ (define-public rust-pad-0.1
"This package provides a library for padding strings at runtime.")
(license license:expat)))
(define-public rust-page-size-0.4
(package
(name "rust-page-size")
(version "0.4.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "page_size" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1kgdv7f626jy4i2pq8czp4ppady4g4kqfa5ik4dah7mzzd4fbggf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-spin" ,rust-spin-0.5)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/Elzair/page_size_rs")
(synopsis "Retrieve the memory page size")
(description
"This package provides an easy, fast, cross-platform way to retrieve the
memory page size.")
(license (list license:expat license:asl2.0))))
(define-public rust-pager-0.15
(package
(name "rust-pager")