depot/third_party/nixpkgs/pkgs/development/tools/nagelfar/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

34 lines
868 B
Nix

{ lib, fetchzip, tcl, tcllib, tk, }:
tcl.mkTclDerivation {
pname = "nagelfar";
version = "1.3.3";
src = fetchzip {
url = "https://sourceforge.net/projects/nagelfar/files/Rel_133/nagelfar133.tar.gz";
sha256 = "sha256-bdH53LSOKMwq53obVQitl7bpaSpwvMce8oJgg/GKrg0=";
};
buildInputs = [
tcl
tcllib
tk
];
installPhase = ''
install -Dm 755 $src/nagelfar.tcl $out/bin/nagelfar
'';
meta = with lib; {
homepage = "https://nagelfar.sourceforge.net/";
description = "Static syntax checker (linter) for Tcl";
longDescription = ''
Provides static syntax checking, code coverage instrumentation,
and is very extendable through its syntax database and plugins.
'';
mainProgram = "nagelfar";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = [ maintainers.nat-418 ];
};
}