2021-12-23 13:23:10 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitLab, yojson }:
|
2017-03-23 07:40:21 +00:00
|
|
|
|
2021-12-23 13:23:10 +00:00
|
|
|
buildDunePackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ocf";
|
2021-12-23 13:23:10 +00:00
|
|
|
version = "0.8.0";
|
|
|
|
useDune2 = true;
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "framagit.org";
|
2017-03-23 07:40:21 +00:00
|
|
|
owner = "zoggy";
|
|
|
|
repo = "ocf";
|
2021-12-23 13:23:10 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256:00ap3q5yjqmpk87lxqv1j2wkc7583ynhjr1jjrfn9r0j2h9pfd60";
|
2017-03-23 07:40:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ yojson ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-03-23 07:40:21 +00:00
|
|
|
description = "OCaml library to read and write configuration options in JSON syntax";
|
2021-12-23 13:23:10 +00:00
|
|
|
homepage = "https://zoggy.frama.io/ocf/";
|
2017-03-23 07:40:21 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ regnat ];
|
|
|
|
};
|
|
|
|
}
|