gnu: Add nu-plugin-inc.

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

Change-Id: I1d504cd7238789a259f6a9ba4ca0d58d9cf39412
This commit is contained in:
Efraim Flashner 2024-12-29 23:06:10 +02:00
parent 32ea3d7d52
commit 4cc59bf384
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -121,6 +121,29 @@ of commands called a ``pipeline''.")
;; Nushell plugins need to be built against the same nu-plugin protocol ;; Nushell plugins need to be built against the same nu-plugin protocol
;; version as nushell itself. ;; version as nushell itself.
(define-public nu-plugin-inc
(package
(name "nu-plugin-inc")
(version "0.101.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nu_plugin_inc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12kr3lnjhq6grdnhxrmlxgmvvgv7kc6fg18z6gfk2qim1sckikyd"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-nu-plugin" ,rust-nu-plugin-0.101)
("rust-nu-protocol" ,rust-nu-protocol-0.101)
("rust-semver" ,rust-semver-1))))
(home-page
"https://github.com/nushell/nushell/tree/main/crates/nu_plugin_inc")
(synopsis "Version incrementer plugin for Nushell")
(description
"This package provides a version incrementer plugin for Nushell.")
(license license:expat)))
(define-public nu-plugin-gstat (define-public nu-plugin-gstat
(package (package
(name "nu-plugin-gstat") (name "nu-plugin-gstat")