guix-commits
[Top][All Lists]
Advanced

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

152/194: gnu: Add rust-magic-string-0.3.


From: guix-commits
Subject: 152/194: gnu: Add rust-magic-string-0.3.
Date: Tue, 3 Oct 2023 14:58:01 -0400 (EDT)

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

commit 2a58253d9f2198d0e62f56c5f01ae30e62d493fb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 10:23:51 2023 +0300

    gnu: Add rust-magic-string-0.3.
    
    * gnu/packages/crates-io.scm (rust-magic-string-0.3): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80646fc639..069678d7be 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37875,6 +37875,33 @@ algorithms.  It supports CBC block cipher mode, PKCS5 
padding and 64, 128,
 192 or 256-bits key length.")
     (license license:asl2.0)))
 
+(define-public rust-magic-string-0.3
+  (package
+    (name "rust-magic-string")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "magic-string" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "062fjfvq17qm8ymqzq4y6wk7a3fmxqq9ysg40yrcrxs3ik73703c"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-base64" ,rust-base64-0.13)
+        ("rust-napi" ,rust-napi-2)
+        ("rust-napi-derive" ,rust-napi-derive-2)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-vlq" ,rust-vlq-0.5))))
+    (home-page "https://github.com/h-a-n-a/magic-string-rs";)
+    (synopsis "MagicString port driven by Rust and N-API")
+    (description
+     "This package provides a MagicString port driven by Rust and N-API.")
+    (license license:expat)))
+
 (define-public rust-maildir-0.5
   (package
     (name "rust-maildir")



reply via email to

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