kbs2: 0.1.3 -> 0.1.4

This commit is contained in:
Mario Rodas 2020-08-29 04:20:00 -05:00 committed by Jon
parent 34bbe4b0dd
commit f6d71ecb8a

View file

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