2024-03-19 06:03:48 +00:00
|
|
|
# Upstreaming here, can be deleted once it's upstreamed:
|
|
|
|
# https://github.com/NixOS/nixpkgs/pull/297102
|
2024-04-04 23:07:44 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
cmake,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
2024-03-19 06:03:48 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "clangbuildanalyzer";
|
|
|
|
version = "1.5.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aras-p";
|
|
|
|
repo = "ClangBuildAnalyzer";
|
|
|
|
rev = "v${finalAttrs.version}";
|
|
|
|
sha256 = "sha256-kmgdk634zM0W0OoRoP/RzepArSipa5bNqdVgdZO9gxo=";
|
|
|
|
};
|
|
|
|
|
2024-04-04 23:07:44 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2024-03-19 06:03:48 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tool for analyzing Clang's -ftrace-time files";
|
|
|
|
homepage = "https://github.com/aras-p/ClangBuildAnalyzer";
|
|
|
|
maintainers = with lib.maintainers; [ lf- ];
|
|
|
|
license = lib.licenses.unlicense;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
mainProgram = "ClangBuildAnalyzer";
|
|
|
|
};
|
|
|
|
})
|