diff options
Diffstat (limited to 'pkgs/by-name/co/codeberg-cli/package.nix')
-rw-r--r-- | pkgs/by-name/co/codeberg-cli/package.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/by-name/co/codeberg-cli/package.nix b/pkgs/by-name/co/codeberg-cli/package.nix index f6d440e557ea2..825731d4d1b48 100644 --- a/pkgs/by-name/co/codeberg-cli/package.nix +++ b/pkgs/by-name/co/codeberg-cli/package.nix @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitea { domain = "codeberg.org"; - owner = "RobWalt"; + owner = "Aviac"; repo = "codeberg-cli"; rev = "v${version}"; hash = "sha256-SUKV7tH7tvSPtlMcRlOgjvAEqPoBi4J41Ak5k4h4Qj0="; @@ -39,7 +39,7 @@ rustPlatform.buildRustPackage rec { ] ); - postInstall = '' + postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd berg \ --bash <($out/bin/berg completion bash) \ --fish <($out/bin/berg completion fish) \ @@ -48,7 +48,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "CLI Tool for Codeberg similar to gh and glab"; - homepage = "https://codeberg.org/RobWalt/codeberg-cli"; + homepage = "https://codeberg.org/Aviac/codeberg-cli"; license = with licenses; [ agpl3Plus ]; maintainers = with maintainers; [ robwalt ]; mainProgram = "berg"; |