diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 16:25:56 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:55:55 +0300 |
commit | 2c784659d999b3e64cf54abeb1e68f1f49f8ad2e (patch) | |
tree | a412a89756691ae9b9d23c5cb58df2ad6b399040 /gnu/packages | |
parent | 10e78d9f12cf0d5810fb80754998a7116860063e (diff) | |
download | guix-2c784659d999b3e64cf54abeb1e68f1f49f8ad2e.tar.gz |
gnu: Add rust-aligned-0.4.
* gnu/packages/crates-io.scm (rust-aligned-0.4): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0a77a2c6b7..8f5c283c6b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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") |