summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 10:52:35 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:52 +0200
commit5d205402d9f1ff9aa413cf19103e9bf351d3654b (patch)
tree314d443d862427c2ff98771cd2c66f4b6068f562 /gnu/packages/crates-io.scm
parentbcc927e157455371c6aa079d3be5a91191481dd7 (diff)
downloadguix-5d205402d9f1ff9aa413cf19103e9bf351d3654b.tar.gz
gnu: rust-colored-2: Update to 2.1.0.
* gnu/packages/crates-io.scm (rust-colored-2): Update to 2.1.0.
[cargo-inputs]: Add rust-windows-0.48.  Remove rust-atty-0.2,
rust-winapi-0.3.
[cargo-developments]: Replace rust-rspec-1 with 1.0.0-beta.3.
[arguments]: Remove phase adjusting the version of rspec dependency.

Change-Id: I6a3ac06cea29f463990db61ec2d503371d059160
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 6 insertions, 15 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aab516233c..8d9cde1e9a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14599,33 +14599,24 @@ based on color-backtrace.")
 (define-public rust-colored-2
   (package
     (name "rust-colored")
-    (version "2.0.0")
+    (version "2.1.0")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "colored" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
+        (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "1gbcijscmznzy42rn213yp9ima7210zakgaqibgg1n441dsnyqdk"))))
+          "1f4h9p64snrnz4x432iza15p4diqjcgpmpvhi956d6r1rq61bwnb"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f
        #:cargo-inputs
-       (("rust-atty" ,rust-atty-0.2)
-        ("rust-winapi" ,rust-winapi-0.3)
-        ("rust-lazy-static" ,rust-lazy-static-1))
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-windows-sys" ,rust-windows-sys-0.48))
        #:cargo-development-inputs
        (("rust-ansi-term" ,rust-ansi-term-0.12)
-        ("rust-rspec" ,rust-rspec-1))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-version-requirements
-           (lambda _
-             (substitute* "Cargo.toml"
-               (("1.0.0-beta.3") ,(package-version rust-rspec-1)))
-             #t)))))
+        ("rust-rspec" ,rust-rspec-1.0.0-beta.3))))
     (home-page "https://github.com/mackwic/colored")
     (synopsis "Add colors in your terminal")
     (description