diff mbox series

[bug#44762,23/37] gnu: Add rust-size-format-1.

Message ID 20201120142716.41949-23-joseph@lafreniere.xyz
State New
Headers show
Series gnu: Add ripgrep-all. | expand

Checks

Context Check Description
cbaines/issue success View issue
cbaines/applying patch success View Laminar job
cbaines/git branch success View Git branch
cbaines/comparison success View comparision
cbaines/submitting builds success
cbaines/submitting builds success

Commit Message

Joseph LaFreniere Nov. 20, 2020, 2:27 p.m. UTC
* gnu/packages/crates-io.scm (rust-size-format-1): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a60911ad77..ecb0eeb342 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25852,6 +25852,29 @@  variants in pure Rust.")
      "SipHash functions from rust-core < 1.13.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-size-format-1
+  (package
+    (name "rust-size-format")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "size-format" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0fxjl0rc0x7yc14x885dh7jjf2jrlhpwf66akp3dxii246mzdmbf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-generic-array" ,rust-generic-array-0.12)
+        ("rust-num" ,rust-num-0.2))))
+    (home-page "https://github.com/aticu/size_format")
+    (synopsis "Allow easier formatting of sizes")
+    (description "This package allows for easier formatting of sizes.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-skeptic-0.9
   (package
     (name "rust-skeptic")