summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-09-20 15:36:47 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-09-20 17:01:54 +0200
commitcef61a0e69ca3bf23e0af48295bafb9501531ec7 (patch)
treec41df6b160331e5fdf6b76b5deb8ae098cad4469 /gnu/packages/crates-io.scm
parentc311c88122305a08009f86c9bb0af56a30f6a357 (diff)
downloadguix-cef61a0e69ca3bf23e0af48295bafb9501531ec7.tar.gz
gnu: Add rust-tobj-3.
* gnu/packages/crates-io.scm (rust-tobj-3): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c4486e1b52..660d97ce10 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64834,6 +64834,30 @@ to a style defined by John Gruber for post titles on his website ``Daring
 Fireball''.")
     (license license:expat)))
 
+(define-public rust-tobj-3
+  (package
+    (name "rust-tobj")
+    (version "3.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "tobj" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1q9hxhdzbqcrpnmja98mnd5890jf3x1njg0q1lgpj8yg5j29ryc9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t ;tests are incomplete
+       #:cargo-inputs
+       (("rust-ahash" ,rust-ahash-0.7)
+        ("rust-log" ,rust-log-0.4))))
+    (home-page "https://github.com/Twinklebear/tobj")
+    (synopsis "Lightweight OBJ loader in the spirit of tinyobjloader")
+    (description
+     "This package provides a lightweight OBJ loader in the spirit of
+tinyobjloader.")
+    (license license:expat)))
+
 (define-public rust-tokio-1
   (package
     (name "rust-tokio")