guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

38/61: gnu: Add rust-tectonic-engine-spx2html-0.3.


From: guix-commits
Subject: 38/61: gnu: Add rust-tectonic-engine-spx2html-0.3.
Date: Thu, 28 Mar 2024 12:01:05 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 22dadfac32f12926d93e2079e676e5d61a14276d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 28 11:02:44 2024 +0200

    gnu: Add rust-tectonic-engine-spx2html-0.3.
    
    * gnu/packages/crates-io.scm (rust-tectonic-engine-spx2html-0.3): New
    variable.
    (rust-tectonic-engine-spx2html-0.1): Inherit from
    rust-tectonic-engine-spx2html-0.3.
    
    Change-Id: If556e4e67094e9243ba2266c7bb1ebeb03219d92
---
 gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++++---------
 1 file changed, 36 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a3830a9f92..17f412912a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75234,8 +75234,43 @@ document model, including the @file{Tectonic.toml} 
file.")
 @code{bibtex} program as a reusable crate.")
     (license license:expat)))
 
+(define-public rust-tectonic-engine-spx2html-0.3
+  (package
+    (name "rust-tectonic-engine-spx2html")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tectonic_engine_spx2html" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1skbxcng0spml3lhb9mmh7sr4nvfvwq715hggxr6pjs3id5p4s5q"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-html-escape" ,rust-html-escape-0.2)
+                       ("rust-percent-encoding" ,rust-percent-encoding-2)
+                       ("rust-pinot" ,rust-pinot-0.1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-tectonic-bridge-core" 
,rust-tectonic-bridge-core-0.3)
+                       ("rust-tectonic-errors" ,rust-tectonic-errors-0.2)
+                       ("rust-tectonic-io-base" ,rust-tectonic-io-base-0.4)
+                       ("rust-tectonic-status-base" 
,rust-tectonic-status-base-0.2)
+                       ("rust-tectonic-xdv" ,rust-tectonic-xdv-0.2)
+                       ("rust-tempfile" ,rust-tempfile-3)
+                       ("rust-tera" ,rust-tera-1))))
+    (inputs (list zlib))
+    (native-inputs (list pkg-config))
+    (home-page "https://tectonic-typesetting.github.io/";)
+    (synopsis "Tectonic engine that converts SPX output to HTML")
+    (description "This crate implements the Tectonic engine that converts SPX
+output to HTML.")
+    (license license:expat)))
+
 (define-public rust-tectonic-engine-spx2html-0.1
   (package
+    (inherit rust-tectonic-engine-spx2html-0.3)
     (name "rust-tectonic-engine-spx2html")
     (version "0.1.1")
     (source
@@ -75245,7 +75280,6 @@ document model, including the @file{Tectonic.toml} 
file.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "15nxgx20x3ii9ksdj2w9jis1qm1rd451kw3jh87ydvwqnzg88f3m"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-byteorder" ,rust-byteorder-1)
@@ -75257,14 +75291,7 @@ document model, including the @file{Tectonic.toml} 
file.")
         ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2)
         ("rust-tectonic-xdv" ,rust-tectonic-xdv-0.2)
         ("rust-tempfile" ,rust-tempfile-3)
-        ("rust-tera" ,rust-tera-1))))
-    (inputs (list zlib))
-    (native-inputs (list pkg-config))
-    (home-page "https://tectonic-typesetting.github.io/";)
-    (synopsis "Tectonic engine that converts SPX output to HTML")
-    (description "This crate implements the Tectonic engine that converts SPX
-output to HTML.")
-    (license license:expat)))
+        ("rust-tera" ,rust-tera-1))))))
 
 (define-public rust-tectonic-engine-xetex-0.4
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]