jotta-cli: 0.9.39536 -> 0.11.44593

This commit is contained in:
Even Brenden 2021-06-07 09:46:16 +02:00
parent 6d84e50b19
commit 8d062c0eab

View file

@ -5,10 +5,10 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jotta-cli"; pname = "jotta-cli";
version = "0.9.39536"; version = "0.11.44593";
src = fetchzip { src = fetchzip {
url = "https://repo.jotta.us/archives/linux/${arch}/jotta-cli-${version}_linux_${arch}.tar.gz"; url = "https://repo.jotta.us/archives/linux/${arch}/jotta-cli-${version}_linux_${arch}.tar.gz";
sha256 = "sha256-JZtc6Si3ZQoRG3q+ctzPPQm7WbMYRailIuq/Y5Avd2s="; sha256 = "1f06zmcpvm0f3phwc43ai6v4ykhkrd4f3br2j89nx9bfmj6ss2ic";
stripRoot = false; stripRoot = false;
}; };
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
postFixup = '' postFixup = ''
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/bin/jotta-cli patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/bin/jotta-cli
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/bin/jottad patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $out/bin/jottad
$out/bin/jotta-cli completion > $out/share/bash-completion/completions/jotta-cli.bash $out/bin/jotta-cli completion bash > $out/share/bash-completion/completions/jotta-cli.bash
''; '';
meta = with lib; { meta = with lib; {