summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-02 15:42:08 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-02 15:54:59 +0300
commit74394983665a13573285f79060bcbb699fc2cecd (patch)
treeb8101dcc7604259bc838a75e97ee95cdd810cd5a
parentbb41995dc76a3f305178d7c92161f8d72d13f061 (diff)
downloadguix-74394983665a13573285f79060bcbb699fc2cecd.tar.gz
gnu: Add rust-heapsize-0.3.
* gnu/packages/crates-io.scm (rust-heapsize-0.3): New variable.
-rw-r--r--gnu/packages/crates-io.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b9fd0b2ae5..9aa995ef94 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -664,6 +664,23 @@ heap.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-heapsize-0.3
+  (package
+    (inherit rust-heapsize)
+    (name "rust-heapsize")
+    (version "0.3.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "heapsize" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m"))))
+    (arguments
+     `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys))
+       #:tests? #f)))) ;; No flexible-tests feature flags on this release.
+
 (define-public rust-hex
   (package
     (name "rust-hex")