From d66f264903b114ae7471edf117bc3701bc52d949 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Dec 2019 10:52:56 -0800 Subject: [PATCH] gnu: Add rust-pulldown-cmark-0.4. * gnu/packages/crates-io.scm (rust-pulldown-cmark-0.4): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7281e9ed0a..b847eba080 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6945,6 +6945,39 @@ (define-public rust-proptest-0.9 "Hypothesis-like property-based testing and shrinking.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pulldown-cmark-0.4 + (package + (name "rust-pulldown-cmark") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pulldown-cmark" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1db8vlhm3n72051bkq4am80q28rfrh88796i3y9ajf5hhk3lrdyi")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-memchr" ,rust-memchr-2.2) + ("rust-unicase" ,rust-unicase-2.4)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.2) + ("rust-html5ever" ,rust-html5ever-0.23) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-regex" ,rust-regex-1.1) + ("rust-tendril" ,rust-tendril-0.4)))) + (home-page "https://github.com/raphlinus/pulldown-cmark") + (synopsis "Pull parser for CommonMark") + (description + "This package provides a pull parser for CommonMark.") + (license license:expat))) + (define-public rust-quick-error-1.2 (package (name "rust-quick-error")