summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-03 16:03:09 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:14 +0300
commitc9c32a7a1c1109ec751b5cd631c53f9a2d9b7179 (patch)
tree23f727b2147cc0ce87e24e5fd680021c81636803
parent82f4391acab15bdb56a6b71ac3fe74d93faa4771 (diff)
gnu: Add rust-page-size-0.6.
* gnu/packages/crates-io.scm (rust-page-size-0.6): New variable. (rust-page-size-0.4): Inherit from rust-page-size-0.6.
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 23 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 95144cf1aa..1f3ff744d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46628,22 +46628,22 @@ formatters with per-field documentation generated for each structure.
"This package provides a library for padding strings at runtime.")
(license license:expat)))
-(define-public rust-page-size-0.4
+(define-public rust-page-size-0.6
(package
(name "rust-page-size")
- (version "0.4.2")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
- (uri (crate-uri "page_size" version))
+ (uri (crate-uri "page-size" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1kgdv7f626jy4i2pq8czp4ppady4g4kqfa5ik4dah7mzzd4fbggf"))))
+ (base32 "1nj0rrwpvagagssljbm29ww1iyrrg15p1q4sk70r2cfi9qcv5m9h"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
- ("rust-spin" ,rust-spin-0.5)
+ ("rust-spin" ,rust-spin-0.9)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/Elzair/page_size_rs")
(synopsis "Retrieve the memory page size")
@@ -46652,6 +46652,24 @@ formatters with per-field documentation generated for each structure.
memory page size.")
(license (list license:expat license:asl2.0))))
+(define-public rust-page-size-0.4
+ (package
+ (inherit rust-page-size-0.6)
+ (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"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-spin" ,rust-spin-0.5)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-pager-0.16
(package
(name "rust-pager")