guix-commits
[Top][All Lists]
Advanced

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

49/350: gnu: Add rust-nucleo-0.2.


From: guix-commits
Subject: 49/350: gnu: Add rust-nucleo-0.2.
Date: Sun, 15 Dec 2024 02:13:33 -0500 (EST)

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

commit b64746b4daa291cb0d18b659d1e5b737c3bfc8e3
Author: Murilo <murilo@disroot.org>
AuthorDate: Fri Nov 29 11:36:25 2024 -0300

    gnu: Add rust-nucleo-0.2.
    
    * gnu/packages/crates-io.scm (rust-nucleo-0.2): New variable.
    
    Change-Id: I0ee23791f2569ecea3e30d689465da63fc8e881b
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 875e6c3cf2..dca218f166 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46,6 +46,7 @@
 ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@disroot.org>
 ;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
 ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024 Murilo <murilo@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -43039,6 +43040,28 @@ Server Protocol.")
     (description "This is the Rust LZ4 sys package.")
     (license license:expat)))
 
+(define-public rust-nucleo-0.2
+  (package
+    (name "rust-nucleo")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nucleo" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1wzx32bz4n68dcd3yw57195sz49hdhv9b75jikr5qiyfpks32lxf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-nucleo-matcher" ,rust-nucleo-matcher-0.2)
+                       ("rust-parking-lot" ,rust-parking-lot-0.12)
+                       ("rust-rayon" ,rust-rayon-1))))
+    (home-page "https://github.com/helix-editor/nucleo";)
+    (synopsis "Plug and play high performance fuzzy matcher")
+    (description
+     "This package provides plug and play high performance fuzzy matcher.")
+    (license license:mpl2.0)))
+
 (define-public rust-rust-lzma-0.5
   (package
     (name "rust-rust-lzma")



reply via email to

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