guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

34/135: gnu: Add rust-terminfo-0.8.


From: guix-commits
Subject: 34/135: gnu: Add rust-terminfo-0.8.
Date: Wed, 27 Mar 2024 04:54:47 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 53f05fc39100cd98c56e712d5447b33afaf9098b
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:37 2024 +0100

    gnu: Add rust-terminfo-0.8.
    
    * gnu/packages/crates-io.scm (rust-terminfo-0.8): New variable.
    (rust-terminfo-0.7): Inherit from rust-terminfo-0.8.
    
    Change-Id: I089182a103780939bdb07c57cfc22dce5b392a66
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++----------
 1 file changed, 32 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ee389cd063..65f66e0df8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75262,31 +75262,53 @@ writing colored text to a terminal.")
            `(("rust-libc" ,rust-libc-0.2)
              ("rust-winapi" ,rust-winapi-0.3))))))
 
-(define-public rust-terminfo-0.7
+(define-public rust-terminfo-0.8
   (package
     (name "rust-terminfo")
-    (version "0.7.3")
+    (version "0.8.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "terminfo" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0zkln56bsixjad6rsfy9mm15d9ygm89i63cn3gn685hjwrvik5vn"))))
+        (base32 "13s9920jzmnr0jidik8yn6gvkic9n39sl28440mx4x8pd2kd6v36"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-dirs" ,rust-dirs-2)
-        ("rust-fnv" ,rust-fnv-1)
-        ("rust-nom" ,rust-nom-5)
-        ("rust-phf" ,rust-phf-0.8)
-        ("rust-phf-codegen" ,rust-phf-codegen-0.8))))
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip=Database"
+                            "--skip=expand::expand"
+                            "--skip=src/lib.rs")
+       #:cargo-inputs (("rust-dirs" ,rust-dirs-4)
+                       ("rust-fnv" ,rust-fnv-1)
+                       ("rust-nom" ,rust-nom-7)
+                       ("rust-phf" ,rust-phf-0.11)
+                       ("rust-phf-codegen" ,rust-phf-codegen-0.11))))
     (home-page "https://github.com/meh/rust-terminfo";)
     (synopsis "Terminal information")
     (description "Terminal capabilities with type-safe getters.")
     (license license:wtfpl2)))
 
+(define-public rust-terminfo-0.7
+  (package
+    (inherit rust-terminfo-0.8)
+    (name "rust-terminfo")
+    (version "0.7.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "terminfo" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zkln56bsixjad6rsfy9mm15d9ygm89i63cn3gn685hjwrvik5vn"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-dirs" ,rust-dirs-2)
+                       ("rust-fnv" ,rust-fnv-1)
+                       ("rust-nom" ,rust-nom-5)
+                       ("rust-phf" ,rust-phf-0.8)
+                       ("rust-phf-codegen" ,rust-phf-codegen-0.8))))))
+
 (define-public rust-termion-3
   (package
     (name "rust-termion")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]