guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/07: gnu: Add rust-page-size-0.4.


From: guix-commits
Subject: 07/07: gnu: Add rust-page-size-0.4.
Date: Fri, 6 May 2022 09:35:49 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 4f15745b954d9dea53a6a4a79beec22b895a8a4a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 6 14:15:05 2022 +0200

    gnu: Add rust-page-size-0.4.
    
    * gnu/packages/crates-io.scm (rust-page-size-0.4): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]