aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-01 16:31:11 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:35:46 +0300
commite103ecdcf53b10e21b9ee07064854308dd43e614 (patch)
tree47bc43fc77d68752ef626effe4400a7c5fe294dd
parent12e6179e2fb5c87e86e76bf87a2080c2fba026c9 (diff)
downloadguix-e103ecdcf53b10e21b9ee07064854308dd43e614.tar.gz
guix-e103ecdcf53b10e21b9ee07064854308dd43e614.zip
gnu: Add rust-lopdf-0.29.
* gnu/packages/crates-io.scm (rust-lopdf-0.29): New variable. (rust-lopdf-0.26): Inherit from rust-lopdf-0.29.
-rw-r--r--gnu/packages/crates-io.scm44
1 files changed, 37 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b99d45c74..77908fd847 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37015,8 +37015,44 @@ explosion.")
image together with its neighboring pixels.")
(license license:expat)))
+(define-public rust-lopdf-0.29
+ (package
+ (name "rust-lopdf")
+ (version "0.29.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lopdf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p59fkn9rkas0jywm7z24970k3lpv71sxxabmkmnig3d1p26j3yy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-encoding" ,rust-encoding-0.2)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-image" ,rust-image-0.24)
+ ("rust-itoa" ,rust-itoa-1)
+ ("rust-linked-hash-map" ,rust-linked-hash-map-0.5)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nom" ,rust-nom-6)
+ ("rust-pom" ,rust-pom-3)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-time" ,rust-time-0.2)
+ ("rust-weezl" ,rust-weezl-0.1))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/J-F-Liu/lopdf")
+ (synopsis "Rust library for PDF document manipulation")
+ (description
+ "This package provides a Rust library for PDF document manipulation.")
+ (license license:expat)))
+
(define-public rust-lopdf-0.26
(package
+ (inherit rust-lopdf-0.29)
(name "rust-lopdf")
(version "0.26.0")
(source
@@ -37027,7 +37063,6 @@ image together with its neighboring pixels.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1wqnmibs8qzi6pr3ig4h3sg6bfkkgyv4ngdng81x069725r056ml"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
@@ -37042,12 +37077,7 @@ image together with its neighboring pixels.")
("rust-nom" ,rust-nom-6)
("rust-pom" ,rust-pom-3)
("rust-rayon" ,rust-rayon-1)
- ("rust-time" ,rust-time-0.2))))
- (home-page "https://github.com/J-F-Liu/lopdf")
- (synopsis "Rust library for PDF document manipulation")
- (description
- "This package provides a Rust library for PDF document manipulation.")
- (license license:expat)))
+ ("rust-time" ,rust-time-0.2))))))
(define-public rust-lru-0.7
(package