diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-02-29 07:19:15 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-02-29 07:19:15 +0100 |
commit | 65b31e498ade8c921a9868a458fa37af2c2e167a (patch) | |
tree | 05b53a9f74578bba97fecf5903822a77a922cf9a /pkgs/applications/version-management | |
parent | 392bc69fa749302c8859db904530dcdf8f971705 (diff) | |
parent | 0852bff4370133e3a62b0cc7d14d193b928a7c59 (diff) | |
download | nixlib-65b31e498ade8c921a9868a458fa37af2c2e167a.tar nixlib-65b31e498ade8c921a9868a458fa37af2c2e167a.tar.gz nixlib-65b31e498ade8c921a9868a458fa37af2c2e167a.tar.bz2 nixlib-65b31e498ade8c921a9868a458fa37af2c2e167a.tar.lz nixlib-65b31e498ade8c921a9868a458fa37af2c2e167a.tar.xz nixlib-65b31e498ade8c921a9868a458fa37af2c2e167a.tar.zst nixlib-65b31e498ade8c921a9868a458fa37af2c2e167a.zip |
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts: - pkgs/development/python-modules/influxdb/default.nix - pkgs/development/tools/misc/binutils/default.nix
Diffstat (limited to 'pkgs/applications/version-management')
3 files changed, 19 insertions, 7 deletions
diff --git a/pkgs/applications/version-management/commitizen/default.nix b/pkgs/applications/version-management/commitizen/default.nix index 98a5549faab4..5b5042494c49 100644 --- a/pkgs/applications/version-management/commitizen/default.nix +++ b/pkgs/applications/version-management/commitizen/default.nix @@ -11,7 +11,7 @@ python3.pkgs.buildPythonApplication rec { pname = "commitizen"; - version = "3.15.0"; + version = "3.16.0"; format = "pyproject"; disabled = python3.pythonOlder "3.8"; @@ -20,7 +20,7 @@ python3.pkgs.buildPythonApplication rec { owner = "commitizen-tools"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-WXsEkJRis9L9heHj6SkTFFTuGmnDXPMKfr7rYy8vzcI="; + hash = "sha256-vd8MtkzI7PPow0Ld0NhwbWOUWgSgecAT/DZK0ocUWCw="; }; pythonRelaxDeps = [ diff --git a/pkgs/applications/version-management/git-gone/default.nix b/pkgs/applications/version-management/git-gone/default.nix index 559c81dd48c6..133bc35f64fa 100644 --- a/pkgs/applications/version-management/git-gone/default.nix +++ b/pkgs/applications/version-management/git-gone/default.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "git-gone"; - version = "1.0.0"; + version = "1.1.0"; src = fetchFromGitHub { owner = "swsnr"; repo = "git-gone"; rev = "v${version}"; - hash = "sha256-cEMFbG7L48s1SigLD/HfQ2NplGZPpO+KIgs3oV3rgQQ="; + hash = "sha256-Mc9/P4VBmLOC05xqdx/yopbhvdpQS3uejc4YA7BIgug="; }; - cargoHash = "sha256-CCPVjOWM59ELd4AyT968v6kvGdVwkMxxLZGDiJlLkzA="; + cargoHash = "sha256-NyyficEDJReMLAw2VAK2fOXNIwHilnUqQRACGck+0Vo="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/applications/version-management/gitoxide/default.nix b/pkgs/applications/version-management/gitoxide/default.nix index ed3f3c8764f4..eb3ee122bf51 100644 --- a/pkgs/applications/version-management/gitoxide/default.nix +++ b/pkgs/applications/version-management/gitoxide/default.nix @@ -9,9 +9,14 @@ , SystemConfiguration , curl , openssl +, buildPackages +, installShellFiles }: -rustPlatform.buildRustPackage rec { +let + canRunCmd = stdenv.hostPlatform.emulatorAvailable buildPackages; + gix = "${stdenv.hostPlatform.emulator buildPackages} $out/bin/gix"; +in rustPlatform.buildRustPackage rec { pname = "gitoxide"; version = "0.33.0"; @@ -24,12 +29,19 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-JOl/hhyuc6vqeK6/oXXMB3fGRapBsuOTaUG+BQ9QSnk="; - nativeBuildInputs = [ cmake pkg-config ]; + nativeBuildInputs = [ cmake pkg-config installShellFiles ]; buildInputs = [ curl ] ++ (if stdenv.isDarwin then [ libiconv Security SystemConfiguration ] else [ openssl ]); + preFixup = lib.optionalString canRunCmd '' + installShellCompletion --cmd gix \ + --bash <(${gix} completions --shell bash) \ + --fish <(${gix} completions --shell fish) \ + --zsh <(${gix} completions --shell zsh) + ''; + # Needed to get openssl-sys to use pkg-config. env.OPENSSL_NO_VENDOR = 1; |