diff options
Diffstat (limited to 'pkgs/by-name/gi')
| -rw-r--r-- | pkgs/by-name/gi/git-repo/package.nix | 4 | ||||
| -rw-r--r-- | pkgs/by-name/gi/git-statuses/package.nix | 18 | ||||
| -rw-r--r-- | pkgs/by-name/gi/github-backup/package.nix | 4 |
3 files changed, 19 insertions, 7 deletions
diff --git a/pkgs/by-name/gi/git-repo/package.nix b/pkgs/by-name/gi/git-repo/package.nix index 481ff124b485..bcf9b3c4ea32 100644 --- a/pkgs/by-name/gi/git-repo/package.nix +++ b/pkgs/by-name/gi/git-repo/package.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "git-repo"; - version = "2.57.2"; + version = "2.57.3"; src = fetchFromGitHub { owner = "android"; repo = "tools_repo"; rev = "v${version}"; - hash = "sha256-B8Z5qkjUrydjWTeAanDHMn7C2qVIIqb90zJ6WrI6fgI="; + hash = "sha256-QJr1srOHcCnIQZNz56+zBlKs5ZA0/yDfhILek7pBx1Q="; }; # Fix 'NameError: name 'ssl' is not defined' diff --git a/pkgs/by-name/gi/git-statuses/package.nix b/pkgs/by-name/gi/git-statuses/package.nix index 07c0c8271411..c9b95e545902 100644 --- a/pkgs/by-name/gi/git-statuses/package.nix +++ b/pkgs/by-name/gi/git-statuses/package.nix @@ -2,39 +2,51 @@ lib, fetchFromGitHub, rustPlatform, + installShellFiles, pkg-config, openssl, + git, versionCheckHook, + stdenv, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "git-statuses"; - version = "0.4.0"; + version = "0.5.1"; src = fetchFromGitHub { owner = "bircni"; repo = "git-statuses"; tag = finalAttrs.version; - hash = "sha256-e4g4tiewhN5acrkGN9Y5+WO+ihogiJXmT4PlhLtyWcs="; + hash = "sha256-nuWtW1NEECBqQ5uZKRqnvbjMUeYBg04j51zrHi/SDm0="; }; - cargoHash = "sha256-IqlVwh80yTzVHWi5L+EQzt5SksK7SlBowZy46HnA+FI="; + cargoHash = "sha256-WAr5AkT4C14HupJHHZi209jtE8a9IUwOCw76cYu8Yjc="; # Needed to get openssl-sys to use pkg-config. env.OPENSSL_NO_VENDOR = 1; nativeBuildInputs = [ + installShellFiles pkg-config ]; buildInputs = [ openssl ]; nativeInstallCheckInputs = [ + git versionCheckHook ]; doInstallCheck = true; + postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' + installShellCompletion --cmd git-statuses \ + --bash <($out/bin/git-statuses --completions bash) \ + --fish <($out/bin/git-statuses --completions fish) \ + --zsh <($out/bin/git-statuses --completions zsh) + ''; + passthru.updateScript = nix-update-script { }; meta = { diff --git a/pkgs/by-name/gi/github-backup/package.nix b/pkgs/by-name/gi/github-backup/package.nix index fe5cedb1903f..6f0bbf6a5304 100644 --- a/pkgs/by-name/gi/github-backup/package.nix +++ b/pkgs/by-name/gi/github-backup/package.nix @@ -8,14 +8,14 @@ python3Packages.buildPythonApplication rec { pname = "github-backup"; - version = "0.50.2"; + version = "0.50.3"; pyproject = true; src = fetchFromGitHub { owner = "josegonzalez"; repo = "python-github-backup"; tag = version; - hash = "sha256-MUPQa1L3HmAMn1pZSzQk8VKpcz2nDGuWZB8pVi7CyYs="; + hash = "sha256-MBKBY86qIM/rgvGMvE7K9x9n+zDVtoimkVGLBxCWRmI="; }; build-system = with python3Packages; [ |
