1{ lib, buildDunePackage, fetchFromGitLab, yojson }:
2
3buildDunePackage rec {
4 pname = "ocf";
5 version = "0.8.0";
6 duneVersion = "3";
7 minimalOCamlVersion = "4.03";
8 src = fetchFromGitLab {
9 domain = "framagit.org";
10 owner = "zoggy";
11 repo = "ocf";
12 rev = version;
13 sha256 = "sha256:00ap3q5yjqmpk87lxqv1j2wkc7583ynhjr1jjrfn9r0j2h9pfd60";
14 };
15
16 propagatedBuildInputs = [ yojson ];
17
18 meta = with lib; {
19 description = "OCaml library to read and write configuration options in JSON syntax";
20 homepage = "https://zoggy.frama.io/ocf/";
21 license = licenses.lgpl3;
22 maintainers = with maintainers; [ regnat ];
23 };
24}