2023-07-15 17:15:38 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, rustPlatform
|
|
|
|
, openssl
|
|
|
|
, nushell
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "nushell_plugin_gstat";
|
|
|
|
in
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
inherit pname;
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "0.83.1";
|
2023-07-15 17:15:38 +00:00
|
|
|
src = nushell.src;
|
2023-08-04 22:07:22 +00:00
|
|
|
cargoHash = "sha256-qRKONc8rDRALEin8WGxi7Jma4uD+U+9Gu6zpmYWmGOc=";
|
2023-07-15 17:15:38 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|