Commit b7ae1366 authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.libc: init at 0.0.1

parent 4f31cd3d
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{ lib
, buildDunePackage
, fetchurl
, config
}:

buildDunePackage rec {
  pname = "libc";
  version = "0.0.1";

  src = fetchurl {
    url = "https://github.com/ocaml-sys/libc.ml/releases/download/${version}/libc-${version}.tbz";
    hash = "sha256-e5x5Yae7V6qOpq+aLZaV+6L9ldy9qDqd9Kc8nkAsENg=";
  };

  buildInputs = [
    config
  ];

  meta = {
    description = "Raw definitions and bindings to platforms system libraries";
    homepage = "https://github.com/ocaml-sys/libc.ml";
    license = lib.licenses.mit;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -956,6 +956,8 @@ let

    letsencrypt-mirage = callPackage ../development/ocaml-modules/letsencrypt/mirage.nix { };

    libc = callPackage ../development/ocaml-modules/libc { };

    lilv = callPackage ../development/ocaml-modules/lilv {
      inherit (pkgs) lilv;
    };