2021-12-30 13:39:12 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitLab, yojson }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-30 13:39:12 +00:00
|
|
|
buildDunePackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ocf";
|
2021-12-30 13:39:12 +00:00
|
|
|
version = "0.8.0";
|
|
|
|
useDune2 = true;
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "framagit.org";
|
2020-04-24 23:36:52 +00:00
|
|
|
owner = "zoggy";
|
|
|
|
repo = "ocf";
|
2021-12-30 13:39:12 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256:00ap3q5yjqmpk87lxqv1j2wkc7583ynhjr1jjrfn9r0j2h9pfd60";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ yojson ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "OCaml library to read and write configuration options in JSON syntax";
|
2021-12-30 13:39:12 +00:00
|
|
|
homepage = "https://zoggy.frama.io/ocf/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ regnat ];
|
|
|
|
};
|
|
|
|
}
|