diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-29 23:12:11 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:21:24 +0200 |
commit | e84359ad4641801f2df3e585b89f5bd9d3fcdf3b (patch) | |
tree | d2024241bf14d29d9589c9c21864bc752ed58e4f | |
parent | 48db66072669db02b155d7df38e338db406c11e6 (diff) | |
download | guix-e84359ad4641801f2df3e585b89f5bd9d3fcdf3b.tar.gz guix-e84359ad4641801f2df3e585b89f5bd9d3fcdf3b.zip |
gnu: Add nu-plugin-formats.
* gnu/packages/nushell.scm (nu-plugin-formats): New variable.
Change-Id: Ie198d3b6002da6d15001e09ae27aa8341dfb3081
-rw-r--r-- | gnu/packages/nushell.scm | 30 |
1 files changed, 30 insertions, 0 deletions
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") |