summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-05 18:00:03 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-06 15:46:00 +0300
commiteda57f4834b29ef17758f7f1f62d3af899e2d669 (patch)
treeee50942220379a2e209bb1d21760ca228959796d /gnu
parent02f66e9022d92d2041869231ee5adcf6009f07a9 (diff)
downloadguix-eda57f4834b29ef17758f7f1f62d3af899e2d669.tar.gz
gnu: Add rust-pico-sys.
* gnu/packages/crates-io.scm (rust-pico-sys): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ea43d8e5e1..909dd5d2f8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1707,6 +1707,29 @@ algorithm.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-pico-sys
+  (package
+    (name "rust-pico-sys")
+    (version "0.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "pico-sys" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1q5pg0ms6szz6b5h26h4k40zb76zbwwjgyigac4wly9qngdj4yl5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-gcc" ,rust-gcc)
+        ("rust-libc" ,rust-libc))))
+    (home-page "https://github.com/reem/rust-pico-sys.git")
+    (synopsis "Bindings to the PicoHTTPParser")
+    (description
+     "This package provides bindings to the PicoHTTPParser.")
+    (license license:expat)))
+
 (define-public rust-pin-utils
   (package
     (name "rust-pin-utils")