Merge pull request from SebTM/update/nixpkgs-review_2104

nixpkgs-review: 2.10.3 -> 2.10.4
This commit is contained in:
Jörg Thalheim 2024-03-25 22:09:56 +01:00 committed by GitHub
commit 857fe548ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,14 +16,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "nixpkgs-review";
version = "2.10.3";
version = "2.10.4";
format = "pyproject";
src = fetchFromGitHub {
owner = "Mic92";
repo = "nixpkgs-review";
rev = version;
hash = "sha256-iO+B/4UsMi+vf85oyLwZTigZ+mmt7Sk3qGba20/0XBs=";
hash = "sha256-+4T6Mm4YfH0wWlkNYS03H9Z9oNlYQnVUncvWGA0CKIQ=";
};
nativeBuildInputs = [
@ -53,9 +53,9 @@ python3.pkgs.buildPythonApplication rec {
postInstall = lib.optionalString withAutocomplete ''
for cmd in nix-review nixpkgs-review; do
installShellCompletion --cmd $cmd \
--bash <(register-python-argcomplete $out/bin/$cmd) \
--fish <(register-python-argcomplete $out/bin/$cmd -s fish) \
--zsh <(register-python-argcomplete $out/bin/$cmd -s zsh)
--bash <(register-python-argcomplete $cmd) \
--fish <(register-python-argcomplete $cmd -s fish) \
--zsh <(register-python-argcomplete $cmd -s zsh)
done
'';