summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-02-04 14:38:52 +0300
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-04 15:55:08 +0100
commitd5b55d9a2ce97f9df05a8cd78cc91300737914c4 (patch)
tree3a506601235b472da8c83a1c57b692fd89f9712f /gnu/packages
parenta5b70869c742bb5002df8f877ff3e70f4cd4fbb2 (diff)
downloadguix-d5b55d9a2ce97f9df05a8cd78cc91300737914c4.tar.gz
gnu: Add rust-trackable-1.
* gnu/packages/crates-io.scm (rust-trackable-1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ae61eba58..1976a982aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38857,6 +38857,31 @@ application authors using tracing to instrument their applications.")
         ("rust-tracing" ,rust-tracing-0.1)
         ("rust-tracing-log" ,rust-tracing-log-0.1))))))
 
+(define-public rust-trackable-1
+  (package
+    (name "rust-trackable")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "trackable" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1c5xqp2k9yf5is3pwc7xwf2kd3khdkan93s5072r5p99s49nxyrh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-trackable-derive" ,rust-trackable-derive-1))))
+    (home-page "https://github.com/sile/trackable")
+    (synopsis "Track objects manually as an alternative to backtracing")
+    (description
+     "This library provides a way to track objects manually as an alternative
+to mechanisms like backtracing.")
+    (license license:expat)))
+
 (define-public rust-trackable-derive-1
   (package
     (name "rust-trackable-derive")