lol

systemd-bootchart: init at 235

Add the systemd-bootchart package. At this stage just adding the
package. The plan is to add the module and kernel configurations for the
boot invocation in a follow up PR.

Being utilized in nixosConfigurations as part of Ghaf, where the
systemd-analyze does not provide enough information, especially cpu and
mem usages for throttling the start of some of the virtual machines.

This has been tested locally in realtime with:

```
/nix/store/...-systemd-bootchart-235/lib/systemd/systemd-bootchart --rel -o $(mktemp -d)
```

Waiting the requisite 20 seconds and then viewing the created .svg file.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>

+49
+49
pkgs/by-name/sy/systemd-bootchart/package.nix
··· 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 + 13 + stdenv.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 + })