summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-03 22:59:54 +0100
committerLeo Famulari <leo@famulari.name>2021-12-28 14:09:59 -0500
commit9dcd4ec35b01d2f3fd57c7e7a37dd6d22637e2f7 (patch)
treef613ea37cfd30a547b83f18b8577148fc23abdc7
parent0a0b2e4c189e7d84002f53e1b1607738ff7b083b (diff)
downloadguix-9dcd4ec35b01d2f3fd57c7e7a37dd6d22637e2f7.tar.gz
gnu: Add rust-ttf-parser-0.12.
* gnu/packages/crates-io.scm (rust-ttf-parser-0.12): New variable.
(rust-ttf-parser-0.6): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 038007e068..a6669d54c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58644,26 +58644,40 @@ the Trust-DNS client to use rustls for TLS.")
      "Test harness for ui tests of compiler diagnostics.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-ttf-parser-0.6
+(define-public rust-ttf-parser-0.12
   (package
     (name "rust-ttf-parser")
-    (version "0.6.2")
+    (version "0.12.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "ttf-parser" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
+        (base32 "1rkj90w4k21y88i69rlwb8pyfvv5lnb7x2b8yvdan21gha5gbqks"))))
     (build-system cargo-build-system)
     (arguments `(#:skip-build? #t))
     (home-page "https://github.com/RazrFalcon/ttf-parser")
-    (synopsis "High-level, safe, zero-allocation TrueType font parser")
+    (synopsis "A high-level, safe, zero-allocation TrueType font parser.")
     (description
      "This package provides a high-level, safe, zero-allocation TrueType font
 parser.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ttf-parser-0.6
+  (package
+    (inherit rust-ttf-parser-0.12)
+    (name "rust-ttf-parser")
+    (version "0.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ttf-parser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
+    (arguments `(#:skip-build? #t))))
+
 (define-public rust-tui-0.16
   (package
     (name "rust-tui")