depot/third_party/nixpkgs/pkgs/development/tools/headache/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

31 lines
724 B
Nix

{ lib, fetchFromGitHub, nix-update-script, ocamlPackages }:
let
inherit (ocamlPackages) buildDunePackage camomile;
in
buildDunePackage rec {
pname = "headache";
version = "1.07";
src = fetchFromGitHub {
owner = "frama-c";
repo = pname;
rev = "v${version}";
sha256 = "sha256-RL80ggcJSJFu2UTECUNP6KufRhR8ZnG7sQeYzhrw37g=";
};
propagatedBuildInputs = [
camomile
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://github.com/frama-c/${pname}";
description = "Lightweight tool for managing headers in source code files";
mainProgram = "headache";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ niols ];
};
}