1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 pkg-config,
7 systemd,
8 libxslt,
9 docbook_xsl,
10 docbook_xml_dtd_45,
11}:
12
13stdenv.mkDerivation (finalAttrs: {
14 pname = "systemd-bootchart";
15 version = "235";
16
17 src = fetchFromGitHub {
18 owner = "systemd";
19 repo = "systemd-bootchart";
20 tag = "v${finalAttrs.version}";
21 hash = "sha256-1h6/Q6ShfJbu/DXENIe5GAQiZp4jlOAg6SAR36cmg2I=";
22 };
23
24 strictDeps = true;
25
26 nativeBuildInputs = [
27 autoreconfHook
28 pkg-config
29 libxslt
30 docbook_xsl
31 docbook_xml_dtd_45
32 ];
33
34 buildInputs = [
35 systemd
36 ];
37
38 configureFlags = [
39 "--with-rootprefix=$(out)"
40 ];
41
42 meta = {
43 description = "Boot performance graphing tool from systemd";
44 homepage = "https://github.com/systemd/systemd-bootchart";
45 license = lib.licenses.lgpl21Plus;
46 maintainers = [ lib.maintainers.brianmcgillion ];
47 platforms = lib.platforms.linux;
48 };
49})