9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
28 lines
715 B
Nix
28 lines
715 B
Nix
{ stdenv
|
|
, lib
|
|
, rustPlatform
|
|
, openssl
|
|
, nushell
|
|
, pkg-config
|
|
}:
|
|
|
|
let
|
|
pname = "nushell_plugin_gstat";
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
inherit pname;
|
|
version = nushell.version;
|
|
src = nushell.src;
|
|
cargoHash = "sha256-+RFCkM++6DgrwFjTr3JlCgh9FqDBUOQsOucbZAi+V/k=";
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ openssl ];
|
|
cargoBuildFlags = [ "--package nu_plugin_gstat" ];
|
|
doCheck = false; # some tests fail
|
|
meta = with lib; {
|
|
description = "A git status plugin for Nushell";
|
|
homepage = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_gstat";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ mrkkrp ];
|
|
platforms = with platforms; all;
|
|
};
|
|
}
|