nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitLab,
5 yojson,
6}:
7
8buildDunePackage (finalAttrs: {
9 pname = "ocf";
10 version = "0.9.0";
11 patches = ./yojson.patch;
12 src = fetchFromGitLab {
13 domain = "framagit.org";
14 owner = "zoggy";
15 repo = "ocf";
16 tag = finalAttrs.version;
17 hash = "sha256-tTNpvncLO/WfcMbjqRfqzcdPv2Bd877fOU5AZlkkcXA=";
18 };
19
20 propagatedBuildInputs = [ yojson ];
21
22 meta = {
23 description = "OCaml library to read and write configuration options in JSON syntax";
24 homepage = "https://zoggy.frama.io/ocf/";
25 license = lib.licenses.lgpl3;
26 maintainers = with lib.maintainers; [ regnat ];
27 };
28})