GNU bug report logs - #69257
[PATCH 000/228 rust-team] WIP: Add GNOME Fractal dependencies.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Sun, 18 Feb 2024 20:51:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Herman Rimm <herman <at> rimm.ee>
To: 69257 <at> debbugs.gnu.org
Cc: Herman Rimm <herman <at> rimm.ee>, Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#69257] [PATCH 074/228] gnu: Add rust-pulldown-cmark-to-cmark-10.
Date: Sun, 18 Feb 2024 22:03:12 +0100
* gnu/packages/crates-io.scm (rust-pulldown-cmark-to-cmark-10): Add
variable.
(rust-pulldown-cmark-to-cmark-7): Inherit
rust-pulldown-cmark-to-cmark-10.

Change-Id: I4c9e072c975ca6d91524fc66de8ceea708515e62
---
 gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++---------
 1 file changed, 27 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b46be68b7c..9b98774bd1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51348,8 +51348,34 @@ (define-public rust-pulldown-cmark-0.1
        (("rust-bitflags" ,rust-bitflags-0.9)
         ("rust-getopts" ,rust-getopts-0.2))))))
 
+(define-public rust-pulldown-cmark-to-cmark-10
+  (package
+    (name "rust-pulldown-cmark-to-cmark")
+    (version "10.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pulldown-cmark-to-cmark" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gc366cmd5jxal9m95l17rvqsm4dn62lywc8v5gwq8vcjvhyd501"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9))
+       #:cargo-development-inputs
+       (("rust-indoc" ,rust-indoc-1)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-0.7))))
+    (home-page "https://github.com/Byron/pulldown-cmark-to-cmark")
+    (synopsis
+     "Convert pulldown-cmark Events back into source strings")
+    (description
+     "This package provides a convert pulldown-cmark Events back to the
+string they were parsed from.")
+    (license license:asl2.0)))
+
 (define-public rust-pulldown-cmark-to-cmark-7
   (package
+    (inherit rust-pulldown-cmark-to-cmark-10)
     (name "rust-pulldown-cmark-to-cmark")
     (version "7.1.1")
     (source
@@ -51369,15 +51395,7 @@ (define-public rust-pulldown-cmark-to-cmark-7
        #:cargo-development-inputs
        (("rust-indoc" ,rust-indoc-1)
         ("rust-pretty-assertions"
-         ,rust-pretty-assertions-0.7))))
-    (home-page
-     "https://github.com/Byron/pulldown-cmark-to-cmark")
-    (synopsis
-     "Convert pulldown-cmark Events back to the string they were parsed from")
-    (description
-     "This package provides a convert pulldown-cmark Events back to the string
-they were parsed from")
-    (license license:asl2.0)))
+         ,rust-pretty-assertions-0.7))))))
 
 (define-public rust-pulse-0.5
   (package
-- 
2.41.0





This bug report was last modified 1 year and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.