summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-07 12:02:25 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:33 +0200
commite4d52a78299f4b44663f088ffc8d8330763dfb1c (patch)
tree2ad5a8d99a87ea61e00e38a36cac5a77d0a31de9 /gnu/packages/crates-io.scm
parentabb0fc15606c3fd1c74a78cccbccda1cc2dad6a6 (diff)
downloadguix-e4d52a78299f4b44663f088ffc8d8330763dfb1c.tar.gz
gnu: Add rust-optick-1.
* gnu/packages/crates-io.scm (rust-optick-1): New variable.

Change-Id: I88538ff2ea2b0027da1a287ac3df67ef03ce21e0
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ebb66e2660..dad8bf6d8a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45754,6 +45754,28 @@ system for OpenSSL.")
     (description "This package provides an OPML parser for Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-optick-1
+  (package
+    (name "rust-optick")
+    (version "1.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "optick" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0j35dj8ggfpcc399h1ljm6xfz8kszqc4nrw3vcl9kfndd1hapryp"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 (delete-file-recursively "external")))))
+    (build-system cargo-build-system)
+    (arguments
+     '(#:tests? #f))        ; Needs optick library
+    (home-page "https://github.com/bombomby/optick-rs")
+    (synopsis "Lightweight Performance Profiler")
+    (description "Super Lightweight Performance Profiler.")
+    (license license:expat)))
+
 (define-public rust-option-ext-0.2
   (package
     (name "rust-option-ext")