diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-08 00:05:38 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-08 11:04:48 +0200 |
commit | f17e91cd7c822020ab29d5903d13ee083465d5e5 (patch) | |
tree | 7a54526a76ba8f10f1140f78ceb545a800b0396e | |
parent | f8dc13e0b649dd822602915c1b16656661594366 (diff) |
gnu: Add rust-tectonic-pdf-io-0.1.
* gnu/packages/crates-io.scm (rust-tectonic-pdf-io-0.1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3fd3ef9d0a..e0eb2a2d9a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -50,6 +50,7 @@ #:use-module (gnu packages databases) #:use-module (gnu packages fontutils) #:use-module (gnu packages gettext) + #:use-module (gnu packages image) #:use-module (gnu packages jemalloc) #:use-module (gnu packages llvm) #:use-module (gnu packages multiprecision) @@ -43415,6 +43416,38 @@ implementations for @code{std} I/O types as well as @code{flate2} gzip streams.") (license license:expat))) +(define-public rust-tectonic-pdf-io-0.1 + (package + (name "rust-tectonic-pdf-io") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tectonic_pdf_io" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ry5g6vh54i8ih8rjlz3ci7b8gi4irsllg34pv57mcwrhwcikg6x")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-tectonic-bridge-core" ,rust-tectonic-bridge-core-0.1) + ("rust-tectonic-bridge-flate" ,rust-tectonic-bridge-flate-0.1) + ("rust-tectonic-cfg-support" ,rust-tectonic-cfg-support-0.1) + ("rust-tectonic-dep-support" ,rust-tectonic-dep-support-0.1)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libpng" ,libpng))) + (home-page "https://tectonic-typesetting.github.io/") + (synopsis "Xdvipdfmx's PDF, XDV, and image I/O APIs in C, as a Rust crate") + (description + "This crate is part of the Tectonic project. It provides the PDF, XDV, +and image I/O capabilities of XeTeX’s xdvipdfmx as a crate, currently +providing only a C API.") + (license license:expat))) + (define-public rust-tectonic-status-base-0.1 (package (name "rust-tectonic-status-base") |