nushellPlugins.bson: init at 26.1100.0 (#484945)
This commit is contained in:
@@ -20715,6 +20715,12 @@
|
||||
github = "philipwilk";
|
||||
githubId = 50517631;
|
||||
};
|
||||
philocalyst = {
|
||||
name = "Myles Wirth";
|
||||
email = "milestheperson@posteo.net";
|
||||
github = "philocalyst";
|
||||
githubId = 114884788;
|
||||
};
|
||||
philtaken = {
|
||||
email = "philipp.herzog@protonmail.com";
|
||||
github = "philtaken";
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
llvmPackages,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "nu_plugin_bson";
|
||||
version = "26.1100.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kissaki";
|
||||
repo = "nu_plugin_bson";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3Uu2YF5fnNvRP4+9GpLYjzZt7lg0kCbBl4bk4l5rEuY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-iORPlIP9kDLlJkm09SZn2lO3bWcj/Q/g+dBd2CPWiOg=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
llvmPackages.libclang
|
||||
];
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
|
||||
passthru.update-script = nix-update-script { };
|
||||
meta = {
|
||||
description = " Nushell plugin for BSON (Binary JSON) format `from bson` and `to bson`";
|
||||
homepage = "https://github.com/Kissaki/nu_plugin_bson";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ philocalyst ];
|
||||
mainProgram = "nu_plugin_bson";
|
||||
platforms = lib.platforms.unix ++ lib.platforms.windows;
|
||||
};
|
||||
})
|
||||
@@ -9087,6 +9087,7 @@ with pkgs;
|
||||
|
||||
nushellPlugins = recurseIntoAttrs {
|
||||
gstat = callPackage ../by-name/nu/nushell-plugin-gstat/package.nix { };
|
||||
bson = callPackage ../by-name/nu/nushell-plugin-bson/package.nix { };
|
||||
formats = callPackage ../by-name/nu/nushell-plugin-formats/package.nix { };
|
||||
polars = callPackage ../by-name/nu/nushell-plugin-polars/package.nix { };
|
||||
query = callPackage ../by-name/nu/nushell-plugin-query/package.nix { };
|
||||
|
||||
Reference in New Issue
Block a user