summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-22 20:01:08 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:10 +0300
commitf7390a392e04337d92133f3c2992286204ad494b (patch)
tree219e6fd475112b717721464ecd2ce15fa0ffbe1a /gnu
parent63fbb9e0dbb421206286c86c0b18d714c338af95 (diff)
downloadguix-f7390a392e04337d92133f3c2992286204ad494b.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files 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")