guix-patches
[Top][All Lists]
Advanced

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

[bug#58142] [PATCH 1/7] gnu: Add rust-pager-0.16.


From: Greg Hogan
Subject: [bug#58142] [PATCH 1/7] gnu: Add rust-pager-0.16.
Date: Wed, 28 Sep 2022 13:03:19 +0000

* gnu/packages/crates-io.scm (rust-pager-0.16): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f83d7fff6d..a8cf5e5444 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41692,6 +41692,28 @@ (define-public rust-page-size-0.4
 memory page size.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pager-0.16
+  (package
+    (name "rust-pager")
+    (version "0.16.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pager" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "10188qgnsz988g30fvl4whkljh2zl4gpbp6kc48bpywpbhd23695"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-errno" ,rust-errno-0.2)
+        ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://gitlab.com/imp/pager-rs.git";)
+    (synopsis "Helps pipe your output through an external pager")
+    (description
+     "This package pipes your Rust output through an external pager.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-pager-0.15
   (package
     (name "rust-pager")
-- 
2.37.3






reply via email to

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