2023-10-09 19:29:22 +00:00
|
|
|
{ lib, fetchFromGitHub, nix-update-script, ocamlPackages }:
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
let
|
|
|
|
inherit (ocamlPackages) buildDunePackage camomile;
|
|
|
|
in
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "headache";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "1.08";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "frama-c";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
sha256 = "sha256-UXQIIsCyJZN4qos7Si7LLm9vQueOduUmLeYHuyT2GZo=";
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "headache";
|
2023-04-12 12:48:02 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ niols ];
|
|
|
|
};
|
|
|
|
}
|