watchexec: 2.3.1 -> 2.3.2 (#408366)

This commit is contained in:
Ramses 2025-06-02 15:32:34 +02:00 committed by GitHub
commit 48246c9947
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,21 +4,22 @@
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitHub,
installShellFiles, installShellFiles,
nix-update-script,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: {
pname = "watchexec"; pname = "watchexec";
version = "2.3.1"; version = "2.3.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "watchexec"; owner = "watchexec";
repo = "watchexec"; repo = "watchexec";
rev = "v${version}"; tag = "v${finalAttrs.version}";
hash = "sha256-ldxB1/WgOe1uGfKXkMEtGHIlWiKJgnZz6j/7eCOGD8s="; hash = "sha256-BJRvz3rFLaOCNhOsEo0rSOgB9BCJ2LMB9XEw8RBWXXs=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-LdjJlf4HPN+kZOQKPNSdbYApGBD4Z6tKV9Y0FFKpAf0="; cargoHash = "sha256-VtSRC4lyjMo2O9dNbVllcDEx08zQWJMQmQ/2bNMup6U=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -35,14 +36,22 @@ rustPlatform.buildRustPackage rec {
postInstall = '' postInstall = ''
installManPage doc/watchexec.1 installManPage doc/watchexec.1
installShellCompletion --zsh --name _watchexec completions/zsh installShellCompletion --cmd watchexec \
--bash completions/bash \
--fish completions/fish \
--zsh completions/zsh
''; '';
meta = with lib; { passthru.updateScript = nix-update-script { };
meta = {
description = "Executes commands in response to file modifications"; description = "Executes commands in response to file modifications";
homepage = "https://watchexec.github.io/"; homepage = "https://watchexec.github.io/";
license = with licenses; [ asl20 ]; license = with lib.licenses; [ asl20 ];
maintainers = [ maintainers.michalrus ]; maintainers = with lib.maintainers; [
michalrus
prince213
];
mainProgram = "watchexec"; mainProgram = "watchexec";
}; };
} })