gnu: Add nu-plugin-formats.

* gnu/packages/nushell.scm (nu-plugin-formats): New variable.

Change-Id: Ie198d3b6002da6d15001e09ae27aa8341dfb3081
This commit is contained in:
Efraim Flashner 2024-12-29 23:12:11 +02:00
parent 48db660726
commit e84359ad46
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -121,6 +121,36 @@ (define-public nushell
;; 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")