Skip to content

Commit

Permalink
include-what-you-use: 0.22 -> 0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
ja1den committed Jan 1, 2025
1 parent 58e9f7b commit 333ec27
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions pkgs/development/tools/analysis/include-what-you-use/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitHub,
cmake,
llvmPackages,
python3,
}:

stdenv.mkDerivation rec {
pname = "include-what-you-use";
# Also bump llvmPackages in all-packages.nix to the supported version!
version = "0.22";
# Make sure to bump `llvmPackages` in "all-packages.nix" to the supported version:
# https://github.com/include-what-you-use/include-what-you-use?tab=readme-ov-file#clang-compatibility
version = "0.23";

src = fetchurl {
url = "${meta.homepage}/downloads/${pname}-${version}.src.tar.gz";
hash = "sha256-hZB0tGHqS4MlpzQYwgfKM7XmVmsI5rWH65FkQWVppt0=";
src = fetchFromGitHub {
owner = "include-what-you-use";
repo = "include-what-you-use";
tag = version;
hash = "sha256-djL1nfyVvkB+qnms8t2kVEZfJVvYWzLA1lpmznJCPsU=";
};

postPatch = ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8140,7 +8140,7 @@ with pkgs;
};

include-what-you-use = callPackage ../development/tools/analysis/include-what-you-use {
llvmPackages = llvmPackages_18;
llvmPackages = llvmPackages_19;
};

inherit (callPackage ../applications/misc/inochi2d { })
Expand Down

0 comments on commit 333ec27

Please sign in to comment.