kbs2: 0.1.3 -> 0.1.4
This commit is contained in:
parent
34bbe4b0dd
commit
f6d71ecb8a
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "kbs2";
|
pname = "kbs2";
|
||||||
version = "0.1.3";
|
version = "0.1.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "woodruffw";
|
owner = "woodruffw";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1zp4gpbqhivmp7lpm10xb6ahx1z7nsijz7pi5i0bndv0y9mr609p";
|
sha256 = "1hjcx651nqj1plxw4i2nv72zc0igd8pl31dy2zwm5yyky6dl7qla";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1inqz4whqw9mb3m22kv44f255m3cjr66pc5ncdw2rgpy3zjh4p3z";
|
cargoSha256 = "11fw097r4mim3rgb0db7naqlf3ws0bavqdd4z84mpdg6714dga0n";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ]
|
nativeBuildInputs = [ installShellFiles ]
|
||||||
++ stdenv.lib.optionals stdenv.isLinux [ python3 ];
|
++ stdenv.lib.optionals stdenv.isLinux [ python3 ];
|
||||||
@ -27,6 +27,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
checkFlagsArray = [ "--skip=kbs2::config::tests::test_find_config_dir" ];
|
checkFlagsArray = [ "--skip=kbs2::config::tests::test_find_config_dir" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
mkdir -p $out/share/kbs2
|
||||||
|
cp -r contrib/ $out/share/kbs2
|
||||||
for shell in bash fish zsh; do
|
for shell in bash fish zsh; do
|
||||||
$out/bin/kbs2 --completions $shell > kbs2.$shell
|
$out/bin/kbs2 --completions $shell > kbs2.$shell
|
||||||
installShellCompletion kbs2.$shell
|
installShellCompletion kbs2.$shell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user