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

commit f2b45c435e17dc0bcdb34ba080a7129f56ee88d2
Author: Efraim Flashner <[email protected]>
AuthorDate: Sun Dec 29 23:12:11 2024 +0200

    gnu: Add nu-plugin-formats.
    
    * gnu/packages/nushell.scm (nu-plugin-formats): New variable.
    
    Change-Id: Ie198d3b6002da6d15001e09ae27aa8341dfb3081
---
 gnu/packages/nushell.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/nushell.scm b/gnu/packages/nushell.scm
index 2dc552820d..2b0f7460a8 100644
--- a/gnu/packages/nushell.scm
+++ b/gnu/packages/nushell.scm
@@ -121,6 +121,36 @@ of commands called a ``pipeline''.")
 ;; Nushell plugins need to be built against the same nu-plugin protocol
 ;; version as nushell itself.
 
+(define-public nu-plugin-formats
+  (package
+    (name "nu-plugin-formats")
+    (version "0.101.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nu_plugin_formats" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0bpsqchhv3q9x38i5kn7gpfrxv875k0vgb7k3r732d7f59nxzd93"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-eml-parser" ,rust-eml-parser-0.1)
+                       ("rust-ical" ,rust-ical-0.11)
+                       ("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-nu-plugin" ,rust-nu-plugin-0.101)
+                       ("rust-nu-protocol" ,rust-nu-protocol-0.101)
+                       ("rust-plist" ,rust-plist-1)
+                       ("rust-rust-ini" ,rust-rust-ini-0.21))
+       #:cargo-development-inputs
+       (("rust-nu-plugin-test-support" ,rust-nu-plugin-test-support-0.101))))
+    (home-page
+     "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_formats";)
+    (synopsis "An I/O plugin for a set of file formats for Nushell")
+    (description
+     "This package provides An I/O plugin for a set of file formats for 
Nushell.")
+    (license license:expat)))
+
 (define-public nu-plugin-inc
   (package
     (name "nu-plugin-inc")

Reply via email to