guix-commits
[Top][All Lists]
Advanced

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

136/475: gnu: Add rust-pager-0.16.


From: guix-commits
Subject: 136/475: gnu: Add rust-pager-0.16.
Date: Sun, 7 May 2023 12:46:41 -0400 (EDT)

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

commit f7390a392e04337d92133f3c2992286204ad494b
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 4544fb39af..e540cb2c74 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40229,10 +40229,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)
@@ -40240,8 +40240,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
@@ -40253,6 +40252,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]