guix-commits
[Top][All Lists]
Advanced

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

48/188: gnu: Add rust-humansize-1.


From: guix-commits
Subject: 48/188: gnu: Add rust-humansize-1.
Date: Mon, 12 Oct 2020 02:24:47 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit a5005caa9028488b978229eace9b828788b0f6f5
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 19:57:30 2020 +0530

    gnu: Add rust-humansize-1.
    
    * gnu/packages/crates-io.scm (rust-humansize-1): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 00d89e3..a77a280 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10245,6 +10245,25 @@ or response body.")
      "This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-humansize-1
+  (package
+    (name "rust-humansize")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "humansize" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0piadmwjah1jv6q288im4za9szlgalzjyq2811w35i6gg9ib5jmn"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/LeopoldArkham/humansize";)
+    (synopsis "Represent file sizes in a human-readable format")
+    (description "This package provides a configurable crate to easily
+represent file sizes in a human-readable format.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-humantime-2
   (package
     (name "rust-humantime")



reply via email to

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