me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-aligned-0.4.

* gnu/packages/crates-io.scm (rust-aligned-0.4): New variable.
Efraim Flashner 2023-05-22 16:25:56 +03:00
parent e3b0cba0bc
commit 7c89b4815a
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 20 additions and 0 deletions

View File

@ -2762,6 +2762,26 @@ address that is aliasable when coerced to a raw pointer")
types.")
(license license:expat)))
(define-public rust-aligned-0.4
(package
(name "rust-aligned")
(version "0.4.1")
(source (origin
(method url-fetch)
(uri (crate-uri "aligned" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0md67hsr0yw5qydr9hjlfz4wfxbbl39y7abkhpycf9m682a1p8l0"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-as-slice" ,rust-as-slice-0.2))))
(home-page "https://github.com/japaric/aligned")
(synopsis "Newtype with alignment of at least `A` bytes")
(description
"This package provides a newtype with alignment of at least `A` bytes.")
(license (list license:expat license:asl2.0))))
(define-public rust-alloc-no-stdlib-2
(package
(name "rust-alloc-no-stdlib")