ory: 0.3.4 -> 1.2.0 (#495376)
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "ory";
|
||||
version = "0.3.4";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ory";
|
||||
repo = "cli";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-q7+Fpttgx62GbKxCCiEDlX//e/pNO24e7KhhBeGRDH0=";
|
||||
hash = "sha256-WqVcVqdgzlI6OvgLA4OViBsU0DGaTnv5F+Ew58UzQlM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -34,12 +34,12 @@ buildGoModule (finalAttrs: {
|
||||
"sqlite"
|
||||
];
|
||||
|
||||
vendorHash = "sha256-B0y1JVjJmC5eitn7yIcDpl+9+xaBDJBMdvm+7N/ZxTk=";
|
||||
|
||||
vendorHash = "sha256-W7yi6CSioLnLmOsK7hdB3C96fV7METOe+wzKKMWpphw=";
|
||||
postInstall = ''
|
||||
mv $out/bin/cli $out/bin/ory
|
||||
''
|
||||
+ lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
export version=v${finalAttrs.version}
|
||||
installShellCompletion --cmd ory \
|
||||
--bash <($out/bin/ory completion bash) \
|
||||
--fish <($out/bin/ory completion fish) \
|
||||
|
||||
Reference in New Issue
Block a user