1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 ppxlib,
6 spices,
7}:
8
9buildDunePackage rec {
10 pname = "config";
11 version = "0.0.3";
12
13 src = fetchurl {
14 url = "https://github.com/ocaml-sys/config.ml/releases/download/${version}/config-${version}.tbz";
15 hash = "sha256-bcRCfLX2ro8vnQTJiX2aYGJC+eD26vkPynMYg817YFM=";
16 };
17
18 propagatedBuildInputs = [
19 ppxlib
20 spices
21 ];
22
23 meta = {
24 description = "Ergonomic, lightweight conditional compilation through attributes";
25 homepage = "https://github.com/ocaml-sys/config.ml";
26 license = lib.licenses.mit;
27 };
28}