13 src = fetchFromGitHub {
14 owner = "edgelesssys";
17 hash = "sha256-AtsFZ92WkVkH8fd0Xa0D6/PR84/dtOH6gpM4mtn32Hk=";
20 vendorHash = "sha256-o7PPgW3JL47G6Na5n9h3RasRMfU25FD1U/wCMaydRmc=";
25 "-X main.version=${version}"
28 nativeBuildInputs = [ installShellFiles ];
31 installShellCompletion --cmd uplosi \
32 --bash <($out/bin/uplosi completion bash) \
33 --fish <($out/bin/uplosi completion fish) \
34 --zsh <($out/bin/uplosi completion zsh)
37 passthru.updateScript = nix-update-script { };
40 description = "Upload OS images to cloud provider";
41 homepage = "https://github.com/edgelesssys/uplosi";
42 changelog = "https://github.com/edgelesssys/uplosi/releases/tag/v${version}";
43 license = lib.licenses.asl20;
44 mainProgram = "uplosi";
45 maintainers = with lib.maintainers; [
49 platforms = lib.platforms.unix;