ocamlPackages.config: init at 0.0.3

This commit is contained in:
Vincent Laporte 2024-05-22 07:20:56 +02:00 committed by Vincent Laporte
parent aa198122d4
commit 4f31cd3de1
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib
, buildDunePackage
, fetchurl
, ppxlib
, spices
}:
buildDunePackage rec {
pname = "config";
version = "0.0.3";
src = fetchurl {
url = "https://github.com/ocaml-sys/config.ml/releases/download/${version}/config-${version}.tbz";
hash = "sha256-bcRCfLX2ro8vnQTJiX2aYGJC+eD26vkPynMYg817YFM=";
};
propagatedBuildInputs = [
ppxlib
spices
];
meta = {
description = "Ergonomic, lightweight conditional compilation through attributes";
homepage = "https://github.com/ocaml-sys/config.ml";
license = lib.licenses.mit;
};
}

View File

@ -245,6 +245,8 @@ let
conduit-mirage = callPackage ../development/ocaml-modules/conduit/mirage.nix { };
config = callPackage ../development/ocaml-modules/config { };
config-file = callPackage ../development/ocaml-modules/config-file { };
containers = callPackage ../development/ocaml-modules/containers { };