1{ lib, fetchFromGitHub, nix-update-script, ocamlPackages }:
2
3with ocamlPackages;
4
5buildDunePackage rec {
6 pname = "headache";
7 version = "1.07";
8
9 src = fetchFromGitHub {
10 owner = "frama-c";
11 repo = pname;
12 rev = "v${version}";
13 sha256 = "sha256-RL80ggcJSJFu2UTECUNP6KufRhR8ZnG7sQeYzhrw37g=";
14 };
15
16 propagatedBuildInputs = [
17 camomile
18 ];
19
20 passthru.updateScript = nix-update-script { };
21
22 meta = with lib; {
23 homepage = "https://github.com/frama-c/${pname}";
24 description = "Lightweight tool for managing headers in source code files";
25 license = licenses.lgpl2Plus;
26 maintainers = with maintainers; [ niols ];
27 };
28}