From the readme:
> The recommended release build is:
> make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes
>
> Flags:
> MATCHCOMPILER=yes : Python is used to optimise cppcheck at compile time
> FILESDIR=/usr/share/cppcheck : Specify folder where cppcheck files are installed
> HAVE_RULES=yes : Enable rules (pcre is required if this is used)
This adds MATCHCOMPILER and fixes the location of FILESDIR into a
standard directory instead of that ugly '$out/cfg' directory.
The Makefile needs 'which' to locate Python.
And switch from sourceforge to github, as upstream hasn't updated the
sourceforge pages yet. (I checked the download links on the sourceforge
page and they link to https://github.com/danmar/cppcheck, so that should
be fine.)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/cppcheck/versions.
These checks were done:
- built on NixOS
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/cert.py had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/cppcheckdata.py had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/findcasts.py had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/misc.py had a zero exit code or showed the expected version
- /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/misra.py passed the binary check.
- /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/naming.py passed the binary check.
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/threadsafety.py had a zero exit code or showed the expected version
- /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/y2038.py passed the binary check.
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/cppcheck-htmlreport had a zero exit code or showed the expected version
- /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/cppcheck passed the binary check.
- 4 of 10 passed binary check by having a zero exit code.
- 1 of 10 passed binary check by having the new version present in output.
- found 1.84 with grep in /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84
- directory tree listing: https://gist.github.com/a464c9319c013b54fa8dad97171e724d
- du listing: https://gist.github.com/11c40551fbcd2a67342269599eecbb76
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/cppcheck/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/naming.py -h’ got 0 exit code
- ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/naming.py --help’ got 0 exit code
- ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/naming.py help’ got 0 exit code
- ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/y2038.py -h’ got 0 exit code
- ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/y2038.py --help’ got 0 exit code
- ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/y2038.py help’ got 0 exit code
- ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/cppcheck -h’ got 0 exit code
- ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/cppcheck --help’ got 0 exit code
- ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/cppcheck --version’ and found version 1.83
- found 1.83 with grep in /nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83
- directory tree listing: https://gist.github.com/49acebba8d7d9e3af647133ae23bd1cb
Semi-automatic update. These checks were done:
- built on NixOS
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/misra.py -h` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/misra.py --help` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/misra.py help` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/naming.py -h` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/naming.py --help` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/naming.py help` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/y2038.py -h` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/y2038.py --help` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/y2038.py help` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/cppcheck -h` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/cppcheck --help` got 0 exit code
- ran `/nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82/bin/cppcheck --version` and found version 1.82
- found 1.82 with grep in /nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82
- found 1.82 in filename of file in /nix/store/klfqwbh75zch4zzdbwdyvk9qhgf28sln-cppcheck-1.82
* Remove package name
* Start with upper case letter
* Remove trailing period
Also reword some descriptions and move some long descriptions to
longDescription.
I'm not touching generated packages.