unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 66802@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>
Subject: [bug#66802] [PATCH 01/21] gnu: Add rust-pretty-assertions-0.5
Date: Sat, 28 Oct 2023 18:38:22 -0400	[thread overview]
Message-ID: <57c16662f16de9f96561952c0d09c1be2715191d.1698532139.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1698532139.git.jaeme@runbox.com>

* gnu/packages/crates-io.scm (rust-pretty-assertions-0.5): New variable.
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.7): Inherit
rust-pretty-assertions-1.
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.6): Inherit
rust-pretty-assertions-1.
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.4): Inherit
rust-pretty-assertions-1.

Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I7c41823d489c2a7ca60a9aa6b825acce0babb4f8
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++----------
 1 file changed, 22 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc26147157..c77851df38 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52681,6 +52681,7 @@ (define-public rust-pretty-assertions-1
 
 (define-public rust-pretty-assertions-0.7
   (package
+    (inherit rust-pretty-assertions-1)
     (name "rust-pretty-assertions")
     (version "0.7.2")
     (source
@@ -52692,23 +52693,17 @@ (define-public rust-pretty-assertions-0.7
        (sha256
         (base32
          "12yris0ni87wvzhj23a5nnz7amskvahhnpikx5snhdyg09y0xaqw"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-ansi-term" ,rust-ansi-term-0.12)
         ("rust-ctor" ,rust-ctor-0.1)
         ("rust-diff" ,rust-diff-0.1)
-        ("rust-output-vt100" ,rust-output-vt100-0.1))))
-    (home-page "https://github.com/colin-kiegel/rust-pretty-assertions")
-    (synopsis "Drop-in replacements for assert_eq! and assert_ne!")
-    (description
-     "Overwrite @code{assert_eq!} and @code{assert_ne!} with drop-in
-replacements, adding colorful diffs.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-output-vt100" ,rust-output-vt100-0.1))))))
+
 
 (define-public rust-pretty-assertions-0.6
   (package
-    (inherit rust-pretty-assertions-0.7)
+    (inherit rust-pretty-assertions-1)
     (name "rust-pretty-assertions")
     (version "0.6.1")
     (source
@@ -52728,9 +52723,26 @@ (define-public rust-pretty-assertions-0.6
         ("rust-ansi-term" ,rust-ansi-term-0.11)
         ("rust-difference" ,rust-difference-2))))))
 
+(define-public rust-pretty-assertions-0.5
+  (package
+    (inherit rust-pretty-assertions-1)
+    (name "rust-pretty-assertions")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pretty_assertions" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ins6swkpxmrh8q5h96h8nv0497d3dclsiyx2lyvqi6py0q980is"))))
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.11)
+                       ("rust-difference" ,rust-difference-2))))))
+
 (define-public rust-pretty-assertions-0.4
   (package
-    (inherit rust-pretty-assertions-0.6)
+    (inherit rust-pretty-assertions-1)
     (name "rust-pretty-assertions")
     (version "0.4.1")
     (source
-- 
2.41.0





  reply	other threads:[~2023-10-28 22:39 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
2023-10-28 22:38 ` Jaeme Sifat via Guix-patches via [this message]
2023-10-28 22:38 ` [bug#66802] [PATCH 02/21] gnu: Add rust-tempfile-2 Jaeme Sifat via Guix-patches via
2023-10-28 22:39 ` [bug#66802] [PATCH 03/21] gnu: Add rust-lazy-static-1.1 Jaeme Sifat via Guix-patches via
2023-10-28 22:39 ` [bug#66802] [PATCH 04/21] gnu: Add rust-nix-0.11 Jaeme Sifat via Guix-patches via
2023-10-28 22:39 ` [bug#66802] [PATCH 05/21] gnu: Add rust-os-pipe-0.6 Jaeme Sifat via Guix-patches via
2023-10-28 22:43 ` [bug#66802] [PATCH 06/21] gnu: Add rust-lazycell-0.6 Jaeme Sifat via Guix-patches via
2023-10-28 22:43 ` [bug#66802] [PATCH 07/21] gnu: Add rust-duct-0.10 Jaeme Sifat via Guix-patches via
2023-10-28 22:47 ` [bug#66802] [PATCH 08/21] gnu: Add rust-roff-0.1 Jaeme Sifat via Guix-patches via
2023-10-28 22:47 ` [bug#66802] [PATCH 09/21] gnu: Add rust-man-0.3 Jaeme Sifat via Guix-patches via
2023-10-28 22:51 ` [bug#66802] [PATCH 10/21] gnu: Add rust-page-size-0.5 Jaeme Sifat via Guix-patches via
2023-10-28 22:51 ` [bug#66802] [PATCH 11/21] gnu: Add rust-fuser-0.13 Jaeme Sifat via Guix-patches via
2023-10-28 22:51 ` [bug#66802] [PATCH 12/21] gnu: Add rust-fuser-0.11 Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 13/21] gnu: Add rust-fuse-mt-0.6 Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 14/21] gnu: Add rust-wsl-0.1 Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 15/21] gnu: rust-signature-derive-1: Update to 1.0.0-pre.7 Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 16/21] gnu: rust-signature-1: Update to 1.6.4 Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 17/21] gnu: Add rust-pkcs1-0.4 Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 18/21] gnu: Add rust-rsa-0.7 Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 19/21] gnu: Add rust-secrecy-0.8 Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 20/21] gnu: Add rust-pinentry-0.5 Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 21/21] gnu: Add rust-find-crate-0.6 Jaeme Sifat via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57c16662f16de9f96561952c0d09c1be2715191d.1698532139.git.jaeme@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=66802@debbugs.gnu.org \
    --cc=jaeme@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).