blob: abddd85254591856f07c84b0eb76a3788c6d0ba1 (
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
|
{ 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;
};
}
|