summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 12:07:40 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:21 +0200
commit6897dae134bfbb0b1a1f1cc3e4b7335b67d7e373 (patch)
treec3452c35fd8a6a0df8d6460749a36f210e4c0d27 /gnu/packages/crates-io.scm
parentde464b8445dc1601d6887972b463b2f8a7a3b41c (diff)
downloadguix-6897dae134bfbb0b1a1f1cc3e4b7335b67d7e373.tar.gz
gnu: Add rust-rustix-openpty-0.1.
* gnu/packages/crates-io.scm (rust-rustix-openpty-0.1): New variable.

Change-Id: I11e1992c015a6e4f5a66e6d4e74ae3fb33c03456
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b7a88e072b..d9e5efd940 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61811,6 +61811,28 @@ rustc compiler.")
              ("rust-serial-test" ,rust-serial-test-0.6)
              ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-rustix-openpty-0.1
+  (package
+    (name "rust-rustix-openpty")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rustix-openpty" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04pw7k8z1fk3642f9wr4jy1f2f6rly4pf2485jw4whn1kynklp52"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-errno" ,rust-errno-0.3)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-rustix" ,rust-rustix-0.38))
+       #:cargo-development-inputs (("rust-rustix" ,rust-rustix-0.38))))
+    (home-page "https://github.com/sunfishcode/rustix-openpty")
+    (synopsis "Safe Rust bindings to `openpty` and related functions")
+    (description "Safe Rust bindings to `openpty` and related functions.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-rusttype-0.9
   (package
     (name "rust-rusttype")