guix-commits
[Top][All Lists]
Advanced

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

33/84: gnu: Add rust-optick-1.


From: guix-commits
Subject: 33/84: gnu: Add rust-optick-1.
Date: Mon, 8 Jan 2024 12:54:03 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit da767c63dbf36e114a94936363cfb9b37086bd51
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 7 12:02:25 2024 +0200

    gnu: Add rust-optick-1.
    
    * gnu/packages/crates-io.scm (rust-optick-1): New variable.
    
    Change-Id: I88538ff2ea2b0027da1a287ac3df67ef03ce21e0
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 99a927ab35..5ea6504b1f 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]