summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-05-06 14:15:05 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-05-06 15:34:31 +0200
commit4f15745b954d9dea53a6a4a79beec22b895a8a4a (patch)
treeadf8d092e27f7852d9f4e938978ffbcea3a58faa /gnu
parent6f5cbac67d950bcc5b1a4745dd1f44a22766639e (diff)
gnu: Add rust-page-size-0.4.
* gnu/packages/crates-io.scm (rust-page-size-0.4): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5daddce94a..0449e4f3fe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40046,6 +40046,30 @@ normally prevent moving a type that has been borrowed from.")
"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")