diff mbox series

[bug#67515,76/91] gnu: Add rust-shared-memory-extended-0.13.

Message ID DU2P193MB21324434C5826C96584A45D7F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#67515,01/91] gnu: Add blueprint-compiler-next. | expand

Commit Message

Sergio Pastor PĂ©rez Nov. 28, 2023, 9:12 p.m. UTC
* gnu/packages/crates-io.scm (rust-shared-memory-extended-0.13): New variable.

Change-Id: I4570f4f6d0b0b0c97b41026349dfed7c4312a6e1
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 31efa554ce..204d340ed8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66581,6 +66581,35 @@  (define-public rust-shared-library-0.1
      "This package allows easy binding to, and loading of, shared libraries.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-shared-memory-extended-0.13
+  (package
+    (name "rust-shared-memory-extended")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "shared_memory_extended" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vq8xlxlllfhmgqdbgi588a4d8dh21vrcl0x8y2lzrivkb77wk80"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-nix" ,rust-nix-0.26)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-win-sys" ,rust-win-sys-0.3))
+       #:cargo-development-inputs (("rust-clap" ,rust-clap-4)
+                                   ("rust-env-logger" ,rust-env-logger-0.10)
+                                   ("rust-raw-sync" ,rust-raw-sync-0.1))))
+    (home-page "https://github.com/phil-opp/shared_memory")
+    (synopsis "A user friendly crate that allows you to share memory between
+processes")
+    (description "This package provides a user friendly crate that allows you
+to share memory between processes")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-shell-escape-0.1
   (package
     (name "rust-shell-escape")