checkbashisms: 2.22.1 -> 2.23.7

Changelog: https://salsa.debian.org/debian/devscripts/-/blob/v2.23.7/debian/changelog
This commit is contained in:
Robert Schütz 2024-07-23 03:06:41 -07:00
parent fbbeadbe17
commit 45641f5275

View File

@ -1,11 +1,19 @@
{ lib, stdenv, fetchurl, perl, installShellFiles }:
stdenv.mkDerivation rec {
version = "2.22.1";
{
lib,
stdenv,
fetchurl,
installShellFiles,
perl,
testers,
}:
stdenv.mkDerivation (finalAttrs: {
version = "2.23.7";
pname = "checkbashisms";
src = fetchurl {
url = "mirror://debian/pool/main/d/devscripts/devscripts_${version}.tar.xz";
hash = "sha256-Nd1eYCnSe+NblujG44uKpvunkaITcdrC3g+M3uX+M9U=";
url = "mirror://debian/pool/main/d/devscripts/devscripts_${finalAttrs.version}.tar.xz";
hash = "sha256-nOnlE1Ry2GR+L/tWZV4AOR6Omap6SormBc8OH/2fNgk=";
};
nativeBuildInputs = [ installShellFiles ];
@ -29,12 +37,17 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.tests = {
version = testers.testVersion { package = finalAttrs.finalPackage; };
};
meta = {
homepage = "https://sourceforge.net/projects/checkbaskisms/";
changelog = "https://salsa.debian.org/debian/devscripts/-/blob/v${finalAttrs.version}/debian/changelog";
description = "Check shell scripts for non-portable syntax";
mainProgram = "checkbashisms";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ kaction ];
platforms = lib.platforms.unix;
};
}
})