1{ lib
2, buildDunePackage
3, fetchurl
4, config
5}:
6
7buildDunePackage rec {
8 pname = "libc";
9 version = "0.0.1";
10
11 src = fetchurl {
12 url = "https://github.com/ocaml-sys/libc.ml/releases/download/${version}/libc-${version}.tbz";
13 hash = "sha256-e5x5Yae7V6qOpq+aLZaV+6L9ldy9qDqd9Kc8nkAsENg=";
14 };
15
16 buildInputs = [
17 config
18 ];
19
20 meta = {
21 description = "Raw definitions and bindings to platforms system libraries";
22 homepage = "https://github.com/ocaml-sys/libc.ml";
23 license = lib.licenses.mit;
24 };
25}
26