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