Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: cppcheck 2.18.3 -> 2.20.0 https://github.com/danmar/cppcheck/releases attrpath: cppcheck Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/afxlgm0nb03ang6r3xv5gqhybfd93iaa-packages.json.drv building '/nix/store/afxlgm0nb03ang6r3xv5gqhybfd93iaa-packages.json.drv'... Going to be running update for following packages: - cppcheck-2.18.3 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - cppcheck-2.18.3: UPDATING ... - cppcheck-2.18.3: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/cp/cppcheck/package.nix b/pkgs/by-name/cp/cppcheck/package.nix index 6789d6f9e139..3c305e9226c4 100644 --- a/pkgs/by-name/cp/cppcheck/package.nix +++ b/pkgs/by-name/cp/cppcheck/package.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "cppcheck"; - version = "2.18.3"; + version = "2.20.1"; outputs = [ "out" @@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "danmar"; repo = "cppcheck"; tag = finalAttrs.version; - hash = "sha256-c32dNM1tNN+Nqv5GmKHnAhWx8r9RTcv3FQ/+ROGurkw="; + hash = "sha256-slsm5fKCIfRvRS9D+nC8+Sdsbh3wLF7yBcS0La94+1w="; }; nativeBuildInputs = [ An auto update branch exists with message `cppcheck: 2.18.3 -> 2.20.0`. New version is 2.20.1. The auto update branch does not match or exceed the new version. Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A cppcheck nix build failed. -U Undefine preprocessor symbol. Use -U to explicitly hide certain #ifdef code paths from checking. Example: '-UDEBUG' -v, --verbose Output more detailed error information. Note that this option is not mutually exclusive with --quiet. --version Print out version number. --xml Write results in xml format to error stream (stderr). Example usage: # Recursively check the current folder. Print the progress on the screen and # write errors to a file: cppcheck . 2> err.txt # Recursively check ../myproject/ and don't print progress: cppcheck --quiet ../myproject/ # Check test.cpp, enable all checks: cppcheck --enable=all --inconclusive --library=posix test.cpp # Check f.cpp and search include files from inc1/ and inc2/: cppcheck -I inc1/ -I inc2/ f.cpp For more information: https://cppcheck.sourceforge.io/manual.pdf Many thanks to the 3rd party libraries we use: * tinyxml2 -- loading project/library/ctu files. * picojson -- loading compile database. * pcre -- rules. * qt -- used in GUI