nixpkgs/pkgs/development/tools/headache/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
654 B
Nix
Raw Normal View History

2023-07-07 17:22:48 +00:00
{ lib, fetchFromGitHub, nix-update-script, ocamlPackages }:
with ocamlPackages;
2023-04-12 08:33:09 +00:00
buildDunePackage rec {
pname = "headache";
2023-07-07 17:34:24 +00:00
version = "1.07";
2023-04-12 08:33:09 +00:00
src = fetchFromGitHub {
owner = "frama-c";
repo = pname;
rev = "v${version}";
2023-07-07 17:34:24 +00:00
sha256 = "sha256-RL80ggcJSJFu2UTECUNP6KufRhR8ZnG7sQeYzhrw37g=";
2023-04-12 08:33:09 +00:00
};
propagatedBuildInputs = [
2023-07-07 17:34:24 +00:00
camomile
];
2023-04-12 08:33:09 +00:00
2023-07-07 17:22:48 +00:00
passthru.updateScript = nix-update-script { };
2023-04-12 08:33:09 +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 ];
};
}