checkbashisms: 2.23.7 -> 2.25.10

Changelog: https://salsa.debian.org/debian/devscripts/-/blob/v2.25.10/debian/changelog

emaryn 43926e74 dba7688e

+8 -6
+8 -6
pkgs/by-name/ch/checkbashisms/package.nix
··· 8 8 }: 9 9 10 10 stdenv.mkDerivation (finalAttrs: { 11 - version = "2.23.7"; 12 11 pname = "checkbashisms"; 12 + version = "2.25.10"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://debian/pool/main/d/devscripts/devscripts_${finalAttrs.version}.tar.xz"; 16 - hash = "sha256-nOnlE1Ry2GR+L/tWZV4AOR6Omap6SormBc8OH/2fNgk="; 16 + hash = "sha256-pEzXrKV/bZbYG7j5QXjRDATZRGLt0fhdpwTDbCoKcus="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ installShellFiles ]; 20 + 20 21 buildInputs = [ perl ]; 21 22 22 23 buildPhase = '' 23 24 runHook preBuild 24 25 25 26 substituteInPlace ./scripts/checkbashisms.pl \ 26 - --replace '###VERSION###' "$version" 27 + --replace-fail '###VERSION###' "${finalAttrs.version}" 27 28 28 29 runHook postBuild 29 30 ''; 31 + 30 32 installPhase = '' 31 33 runHook preInstall 32 34 33 - installManPage scripts/$pname.1 34 - installShellCompletion --bash --name $pname scripts/$pname.bash_completion 35 - install -D -m755 scripts/$pname.pl $out/bin/$pname 35 + installManPage scripts/checkbashisms.1 36 + installShellCompletion --bash --name checkbashisms scripts/checkbashisms.bash_completion 37 + install -D -m755 scripts/checkbashisms.pl $out/bin/checkbashisms 36 38 37 39 runHook postInstall 38 40 '';