mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 07:27:48 -05:00
gnu: Add rust-page-size-0.4.
* gnu/packages/crates-io.scm (rust-page-size-0.4): New variable.
This commit is contained in:
parent
6f5cbac67d
commit
4f15745b95
1 changed files with 24 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue