1 { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
7 src = fetchFromGitHub {
10 rev = "refs/tags/v${version}";
11 hash = "sha256-q7+Fpttgx62GbKxCCiEDlX//e/pNO24e7KhhBeGRDH0=";
18 subPackages = [ "." ];
26 vendorHash = "sha256-B0y1JVjJmC5eitn7yIcDpl+9+xaBDJBMdvm+7N/ZxTk=";
29 mv $out/bin/cli $out/bin/ory
30 installShellCompletion --cmd ory \
31 --bash <($out/bin/ory completion bash) \
32 --fish <($out/bin/ory completion fish) \
33 --zsh <($out/bin/ory completion zsh)
38 description = "Ory CLI";
39 homepage = "https://www.ory.sh/cli";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ luleyleo nicolas-goudry ];