guix-commits
[Top][All Lists]
Advanced

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

06/25: gnu: Add rust-pager-0.16.


From: guix-commits
Subject: 06/25: gnu: Add rust-pager-0.16.
Date: Wed, 22 Feb 2023 14:05:12 -0500 (EST)

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

commit d8bf6f4209d9acde1273c173febaf06f994b6efc
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 20:01:08 2023 +0200

    gnu: Add rust-pager-0.16.
    
    * gnu/packages/crates-io.scm (rust-pager-0.16): New variable.
    (rust-pager-0.15): Inherit from rust-pager-0.15.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dd56b7fe59..0a22163be0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40043,10 +40043,10 @@ formatters with per-field documentation generated for 
each structure.
 memory page size.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-pager-0.15
+(define-public rust-pager-0.16
   (package
     (name "rust-pager")
-    (version "0.15.0")
+    (version "0.16.1")
     (source
      (origin
        (method url-fetch)
@@ -40054,8 +40054,7 @@ memory page size.")
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "0a35mg68s0p63ya2k5hsg620c4llkjw2fx1sfi0laz4pz8myv75n"))))
+        (base32 "10188qgnsz988g30fvl4whkljh2zl4gpbp6kc48bpywpbhd23695"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -40067,6 +40066,25 @@ memory page size.")
      "This package pipes your Rust output through an external pager.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-pager-0.15
+  (package
+    (inherit rust-pager-0.16)
+    (name "rust-pager")
+    (version "0.15.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pager" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0a35mg68s0p63ya2k5hsg620c4llkjw2fx1sfi0laz4pz8myv75n"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-errno" ,rust-errno-0.2)
+        ("rust-libc" ,rust-libc-0.2))))))
+
 (define-public rust-pam-sys-0.5
   (package
     (name "rust-pam-sys")



reply via email to

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