guix-commits
[Top][All Lists]
Advanced

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

49/189: gnu: Add rust-humansize-1.


From: guix-commits
Subject: 49/189: gnu: Add rust-humansize-1.
Date: Mon, 21 Sep 2020 06:01:07 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit 423935842d08dd9247406827374e2058d4a449c5
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 6c4d543..34f32ca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11305,6 +11305,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]