2023-10-09 19:29:22 +00:00
|
|
|
{ lib, fetchFromGitHub, nix-update-script, ocamlPackages }:
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
with ocamlPackages;
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "headache";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.07";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "frama-c";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-RL80ggcJSJFu2UTECUNP6KufRhR8ZnG7sQeYzhrw37g=";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
camomile
|
|
|
|
];
|
2023-04-12 12:48:02 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/frama-c/${pname}";
|
|
|
|
description = "Lightweight tool for managing headers in source code files";
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ niols ];
|
|
|
|
};
|
|
|
|
}
|