summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMilkey Mouse <milkeymouse@meme.institute>2021-08-31 20:54:02 -0700
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-07 22:01:09 +0200
commit221d7579fa62cfd7df39e19a73cab6b75939052a (patch)
tree0ea08ea9c9bf2c5a299ed85bfd1f526bafcfde80 /gnu
parentf68d32fbb57782a9f43c4d11f83d03d2fe54ccce (diff)
downloadguix-221d7579fa62cfd7df39e19a73cab6b75939052a.tar.gz
gnu: Add rust-pledge-0.3.
* gnu/packages/crates-io.scm (rust-pledge-0.3): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9fdedc36f7..35c890d55e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57025,6 +57025,27 @@ formatters with per-field documentation generated for each structure.
      "This crate provides async pipes, channels, mutexes, and more.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pledge-0.3
+  (package
+    (name "rust-pledge")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pledge" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1rgbnvl97ks25aanxm680687df6li6y8h3f5mvdw3806rwz8xcg2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/i80and/pledge-rs")
+    (synopsis "Rust binding to OpenBSD's pledge(2) interface")
+    (description
+     "This package provides Rust bindings to OpenBSD's pledge(2) interface.")
+    (license license:expat)))
+
 (define-public rust-ptree-0.3
   (package
     (name "rust-ptree")