about summary refs log tree commit diff
path: root/pkgs/shells/nushell/plugins/formats.nix
blob: bc63789633a2370cada1d968a76148f3e6e0ba71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv
, lib
, rustPlatform
, nushell
, pkg-config
, IOKit
, Foundation
}:

let
  pname = "nushell_plugin_formats";
in
rustPlatform.buildRustPackage {
  inherit pname;
  version = "0.84.0";
  src = nushell.src;
  cargoHash = "sha256-pwOdSJHd9njR0lr4n2EzCcqRonh0cbBHGZgAJ1l8FEk=";
  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ IOKit Foundation ];
  cargoBuildFlags = [ "--package nu_plugin_formats" ];
  doCheck = false;
  meta = with lib; {
    description = "A formats plugin for Nushell";
    homepage = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_formats";
    license = licenses.mpl20;
    maintainers = with maintainers; [ viraptor ];
    platforms = with platforms; all;
  };
}