Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, camomile }:
2
3buildDunePackage rec {
4 pname = "headache";
5 version = "1.06";
6
7 src = fetchFromGitHub {
8 owner = "frama-c";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-BA7u09MKYMyspFX8AcAkDVA6UUG5DKAdbIDdt+b3Fc4=";
12 };
13
14 duneVersion = "3";
15
16 propagatedBuildInputs = [ camomile ];
17
18 meta = with lib; {
19 homepage = "https://github.com/frama-c/${pname}";
20 description = "Lightweight tool for managing headers in source code files";
21 license = licenses.lgpl2Plus;
22 maintainers = with maintainers; [ niols ];
23 };
24}