summary refs log tree commit diff
path: root/pkgs/development/tools/headache/default.nix
blob: f156c5950b04c341a1f695aeb666047fd7e2925c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, fetchFromGitHub, ocamlPackages }:

with ocamlPackages;

buildDunePackage rec {
  pname = "headache";
  version = "1.06";

  src = fetchFromGitHub {
    owner = "frama-c";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-BA7u09MKYMyspFX8AcAkDVA6UUG5DKAdbIDdt+b3Fc4=";
  };

  duneVersion = "3";

  propagatedBuildInputs = [ camomile ];

  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 ];
  };
}