Commit 4f31cd3d authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.config: init at 0.0.3

parent aa198122
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };